Changeset 7397 in josm
- Timestamp:
- 2014-08-15T11:15:43+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Instruction.java
r7382 r7397 38 38 if (val instanceof LiteralExpression) { 39 39 Object litValue = ((LiteralExpression) val).evaluate(null); 40 if (litValue instanceof Keyword) { 41 if ("none".equals(((Keyword) litValue).val)) { 42 this.val = null; 43 } else { 44 this.val = val; 45 } 40 if (litValue instanceof Keyword && "none".equals(((Keyword) litValue).val)) { 41 this.val = null; 46 42 } else if (key.equals(TEXT)) { 47 43 /* Special case for declaration 'text: ...'
Note:
See TracChangeset
for help on using the changeset viewer.