Changeset 499 in josm for trunk/src/org


Ignore:
Timestamp:
2007-12-26T21:05:43+01:00 (17 years ago)
Author:
gebner
Message:

SimplePaintVisitor: Fix segment number rendering.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/SimplePaintVisitor.java

    r493 r499  
    139139                if (it.hasNext()) {
    140140                        Point lastP = nc.getPoint(it.next().eastNorth);
    141                         for (int orderNumber = 0; it.hasNext(); orderNumber++) {
     141                        for (int orderNumber = 1; it.hasNext(); orderNumber++) {
    142142                                Point p = nc.getPoint(it.next().eastNorth);
    143                                 orderNumber++;
    144143                                drawSegment(lastP, p, w.selected && !inactive ? selectedColor : wayColor, showDirectionArrow || w.selected);
    145144                                if (showOrderNumber)
Note: See TracChangeset for help on using the changeset viewer.