Changeset 4388 in josm


Ignore:
Timestamp:
Aug 31, 2011 8:31:05 PM (21 months ago)
Author:
bastiK
Message:

fixed #6701 - Crash on extreme zoom in

File:
1 edited

Legend:

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

    r4327 r4388  
    409409        Iterator<Node> it = way.getNodes().iterator(); 
    410410        double pathLength = 0; 
    411         int dx, dy; 
     411        long dx, dy; 
    412412        while (it.hasNext()) { 
    413413            Node n = it.next(); 
     
    481481        double totalLen = t * pathLength; 
    482482        double curLen = 0; 
    483         int dx, dy; 
     483        long dx, dy; 
    484484        double segLen; 
    485485 
Note: See TracChangeset for help on using the changeset viewer.