Index: applications/editors/josm/plugins/nearclick/src/nearclick/NearClickPlugin.java
===================================================================
--- applications/editors/josm/plugins/nearclick/src/nearclick/NearClickPlugin.java	(revision 12598)
+++ applications/editors/josm/plugins/nearclick/src/nearclick/NearClickPlugin.java	(revision 12778)
@@ -20,12 +20,12 @@
     public NearClickPlugin() {
         Toolkit.getDefaultToolkit().addAWTEventListener(this, AWTEvent.MOUSE_EVENT_MASK | AWTEvent.MOUSE_MOTION_EVENT_MASK);
-	try {
-	    int radius = Integer.parseInt(Main.pref.get("nearclick.radius", "7"));
-	    radiussquared = radius * radius;
-	    delay = Integer.parseInt(Main.pref.get("nearclick.delay", "250"));
-	} catch (NumberFormatException ex) {
-	    delay = 250;
-	    radiussquared = 7 * 7;
-	}
+    try {
+        int radius = Integer.parseInt(Main.pref.get("nearclick.radius", "7"));
+        radiussquared = radius * radius;
+        delay = Integer.parseInt(Main.pref.get("nearclick.delay", "250"));
+    } catch (NumberFormatException ex) {
+        delay = 250;
+        radiussquared = 7 * 7;
+    }
     }
 
@@ -35,13 +35,13 @@
             if ( e.getButton() != MouseEvent.BUTTON1 )
                 return;
-	    int xdiff = e.getPoint().x - mouseDownX;
-	    int ydiff = e.getPoint().y - mouseDownY;
-	    
+        int xdiff = e.getPoint().x - mouseDownX;
+        int ydiff = e.getPoint().y - mouseDownY;
+        
             if (e.getID() == MouseEvent.MOUSE_RELEASED) {
                 if ( e.getWhen() - mouseDownTime < delay &&
-		     ( e.getPoint().x != mouseDownX ||
-		       e.getPoint().y != mouseDownY) &&
-		     xdiff * xdiff + ydiff * ydiff < radiussquared
-		   ) {
+             ( e.getPoint().x != mouseDownX ||
+               e.getPoint().y != mouseDownY) &&
+             xdiff * xdiff + ydiff * ydiff < radiussquared
+           ) {
                     try {
                         Robot r = new Robot(GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice());
