Changeset 27115 in osm for applications/editors
- Timestamp:
- 2011-11-21T21:23:08+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/seamarks/SeaMark.java
r27112 r27115 1376 1376 setLightAtt(Att.COL, i, col); 1377 1377 } 1378 if (keys.containsKey("seamark:light" + secStr + ":character")) 1379 setLightAtt(Att.CHR, i, keys.get("seamark:light" + secStr + ":character")); 1378 if (keys.containsKey("seamark:light" + secStr + ":character")) { 1379 String c = keys.get("seamark:light" + secStr + ":character"); 1380 if (c.contains("(") && c.contains(")")) { 1381 int i1 = c.indexOf("("); 1382 int i2 = c.indexOf(")"); 1383 setLightAtt(Att.GRP, i, c.substring((i1+1), i2)); 1384 c = c.substring(0, i1) + c.substring((i2+1), c.length()); 1385 } 1386 setLightAtt(Att.CHR, i, c); 1387 } 1380 1388 if (keys.containsKey("seamark:light" + secStr + ":group")) 1381 1389 setLightAtt(Att.GRP, i, keys.get("seamark:light" + secStr + ":group"));
Note:
See TracChangeset
for help on using the changeset viewer.