From: Kaj-Michael Lang Date: Thu, 2 Aug 2007 17:16:59 +0000 (+0300) Subject: Make sure we have a name for our place X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61233a8c86fd8e9fbf41e24392b60cba71c0ca5e;p=mapper Make sure we have a name for our place --- diff --git a/src/osm.c b/src/osm.c index 348473d..ef1ca15 100644 --- a/src/osm.c +++ b/src/osm.c @@ -1133,7 +1133,7 @@ switch (t) { if (cnode->data->type==NODE_PLAIN) { osm_free_node_data(cnode); - } else { + } else if (cnode->data->name) { osm_poi=g_slist_prepend(osm_poi, cnode); switch (cnode->data->type) { case NODE_PLACE_COUNTRY: