Ignore:
Timestamp:
11.01.2009 12:00:48 (3 years ago)
Author:
stoecker
Message:

moved style name into style file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintStyles.java

    r1233 r1241  
    5050    public static void readFromPreferences() { 
    5151        String[] a = null; 
    52          
     52 
    5353        /* don't prefix icon path, as it should be generic */ 
    5454        String internalicon = "resource://images/styles/standard/;resource://images/styles/"; 
    55         String internalfile = "standard=resource://styles/standard/elemstyles.xml"; 
     55        String internalfile = "resource://styles/standard/elemstyles.xml"; 
    5656 
    5757        iconDirs = Main.pref.get("mappaint.icon.sources"); 
     
    7070                    a = fileset.split("=", 2); 
    7171                else 
    72                     a = new String[] {"standard", fileset}; 
     72                    a = new String[] {null, fileset}; 
    7373                XMLReader xmlReader = XMLReaderFactory.createXMLReader(); 
    7474                ElemStyleHandler handler = new ElemStyleHandler(a[0]); 
Note: See TracChangeset for help on using the changeset viewer.