Index: /trunk/src/org/openstreetmap/josm/actions/corrector/TagCorrector.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/actions/corrector/TagCorrector.java	(revision 17701)
+++ /trunk/src/org/openstreetmap/josm/actions/corrector/TagCorrector.java	(revision 17702)
@@ -158,5 +158,5 @@
             int answer = dialog.getValue();
 
-            if (answer == JOptionPane.YES_OPTION) {
+            if (answer == 1) {
                 for (Entry<OsmPrimitive, List<TagCorrection>> entry : tagCorrectionsMap.entrySet()) {
                     OsmPrimitive primitive = entry.getKey();
@@ -199,5 +199,5 @@
                     }
                 }
-            } else if (answer != JOptionPane.NO_OPTION)
+            } else if (answer != 2)
                 throw new UserCancelException();
             return Collections.unmodifiableCollection(commands);
