Ignore:
Timestamp:
2007-07-20T12:44:23+02:00 (17 years ago)
Author:
ulf
Message:

bugfix: avoid adding line rules, if no such rules are in elemstyles.xml

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/mappaint/src/mappaint/ElemStyleHandler.java

    r3614 r3638  
    1919    String curKey = null;
    2020        String curValue = null;
    21         int curLineWidth = 1;
     21        int curLineWidth = -1;
    2222        int curLineRealWidth = 0;
    2323        boolean curLineDashed = false;
     
    150150                                                                                curLineDashed, curScaleMax, curScaleMin);
    151151                styles.add (curKey, curValue, newStyle);
    152                                 curLineWidth    = 1;
     152                                curLineWidth    = -1;
    153153                                curLineRealWidth= 0;
    154154                                curLineDashed   = false;
Note: See TracChangeset for help on using the changeset viewer.