Changeset 5124 in josm
- Timestamp:
- 2012-03-26T20:10:24+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/download/BoundingBoxSelection.java
r4420 r5124 330 330 double minlon, minlat, maxlon,maxlat; 331 331 try { 332 minl on= Double.parseDouble(latlon[0].getText().trim());333 minl at= Double.parseDouble(latlon[1].getText().trim());334 maxl on= Double.parseDouble(latlon[2].getText().trim());335 maxl at= Double.parseDouble(latlon[3].getText().trim());332 minlat = Double.parseDouble(latlon[0].getText().trim()); 333 minlon = Double.parseDouble(latlon[1].getText().trim()); 334 maxlat = Double.parseDouble(latlon[2].getText().trim()); 335 maxlon = Double.parseDouble(latlon[3].getText().trim()); 336 336 } catch(NumberFormatException e) { 337 337 return null; … … 344 344 if (minlat > maxlat) 345 345 return null; 346 return new Bounds(minl on,minlat,maxlon,maxlat);346 return new Bounds(minlat,minlon,maxlat,maxlon); 347 347 } 348 348
Note:
See TracChangeset
for help on using the changeset viewer.