Changeset 26929 in osm


Ignore:
Timestamp:
2011-10-22T21:30:15+02:00 (13 years ago)
Author:
zverik
Message:

fix small warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/TheRing.java

    r26919 r26929  
    117117            while( pos > 0 && nodes2.contains(nodes1.get(pos)) )
    118118                pos--;
    119             if( pos == 0 ) {
     119            if( pos == 0 && nodes1.size() == nodes2.size() ) {
    120120                JOptionPane.showMessageDialog(Main.parent, "Two rings are equal, and this must not be.", "Multipolygon from rings", JOptionPane.ERROR_MESSAGE);
    121121                return null;
Note: See TracChangeset for help on using the changeset viewer.