Changeset 1736 in josm for trunk/src


Ignore:
Timestamp:
2009-07-05T16:16:30+02:00 (15 years ago)
Author:
stoecker
Message:

fixed #2823 - NPE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/GpxLayer.java

    r1734 r1736  
    10931093                WayPoint R = null;
    10941094                for (WayPoint S : seg) {
     1095                    EastNorth c = R.getEastNorth();
    10951096                    if (R == null) {
    1096                         EastNorth c = R.getEastNorth();
    10971097                        R = S;
    10981098                        rx = c.east();
     
    11071107                        }
    11081108                    } else {
    1109                         EastNorth c = S.getEastNorth();
    11101109                        sx = c.east();
    11111110                        sy = c.north();
Note: See TracChangeset for help on using the changeset viewer.