Changeset 1193 in josm


Ignore:
Timestamp:
2008-12-30T15:27:17+01:00 (15 years ago)
Author:
stoecker
Message:

fixed typo

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/presets/presets.xml

    r1177 r1193  
    891891                </item> <!-- spikes -->
    892892                               
    893                 <item name="Porticullis" icon="presets/empty.png">
    894                         <label text="Edit a Porticullis" />
    895                         <label text=" " />
    896                         <key key="barrier" value="porticullis" />
     893                <item name="Portcullis" icon="presets/empty.png">
     894                        <label text="Edit a Portcullis" />
     895                        <label text=" " />
     896                        <key key="barrier" value="portcullis" />
    897897                        <label text="Allowed traffic:" />
    898898                        <label text=" " />
     
    900900                        <check key="motorcycle" text="Motorcycle" default="off" delete_if_empty="true" />
    901901                        <check key="motorcar" text="Motorcar" default="off" delete_if_empty="true" />
    902                 </item> <!-- porticullis -->
     902                </item> <!-- portcullis -->
    903903               
    904904               
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/MapPaintVisitor.java

    r1192 r1193  
    402402                            polygon.addPoint(pInner.x,pInner.y);
    403403                        }
     404                        if(!wInner.isClosed())
     405                        {
     406                            Point pInner = nc.getPoint(wInner.nodes.get(0).eastNorth);
     407                            polygon.addPoint(pInner.x,pInner.y);
     408                        }
    404409                        polygon.addPoint(pOuter.x,pOuter.y);
    405410                    }
Note: See TracChangeset for help on using the changeset viewer.