- Timestamp:
- 2013-04-17T00:28:38+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintStyles.java
r5874 r5875 213 213 try { 214 214 in = new MirroredInputStream(entry.url); 215 InputStream zip = in.getZipEntry("xml", "style"); 215 InputStream zip = in.getZipEntry("mapcss", "style"); 216 if (zip != null) 217 return new MapCSSStyleSource(entry); 218 zip = in.getZipEntry("xml", "style"); 216 219 if (zip != null) 217 220 return new XmlStyleSource(entry); 218 zip = in.getZipEntry("mapcss", "style");219 if (zip != null)220 return new MapCSSStyleSource(entry);221 221 if (entry.url.toLowerCase().endsWith(".mapcss")) 222 222 return new MapCSSStyleSource(entry);
Note:
See TracChangeset
for help on using the changeset viewer.