Ignore:
Timestamp:
2009-07-05T19:26:10+02:00 (15 years ago)
Author:
stoecker
Message:

fixed NPE

File:
1 edited

Legend:

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

    r1730 r1737  
    686686                Date time = new Date(tp.time.getTime() - (delta+gpstimezone));
    687687                if (time.after(e.time) && lastTP != null) {
    688                     e.pos.setCoor(lastTP.pos.getCenter(tp.pos));
     688                    e.pos = new CachedLatLon(lastTP.pos.getCenter(tp.pos));
    689689                    break;
    690690                }
Note: See TracChangeset for help on using the changeset viewer.