Changeset 4169 in josm for trunk/src/org


Ignore:
Timestamp:
2011-06-25T23:09:12+02:00 (13 years ago)
Author:
stoecker
Message:

fix #6498 - useRealWidth does not work with digit numbers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/LineElemStyle.java

    r4055 r4169  
    8888            if(widthTag != null) {
    8989                try {
    90                     realWidth = new Float(Integer.parseInt(widthTag));
     90                    realWidth = Float.valueOf(widthTag);
    9191                }
    9292                catch(NumberFormatException nfe) {
Note: See TracChangeset for help on using the changeset viewer.