Changeset 2436 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2009-11-10T22:22:36+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/DefaultNameFormatter.java
r2385 r2436 133 133 134 134 int nodesNo = way.getNodesCount(); 135 if (nodesNo > 1 && way.isClosed()) { 136 nodesNo--; 137 } 135 138 String nodes = trn("{0} node", "{0} nodes", nodesNo, nodesNo); 136 139 name += (name.length() > 0) ? " ("+nodes+")" : nodes;
Note:
See TracChangeset
for help on using the changeset viewer.