From 61233a8c86fd8e9fbf41e24392b60cba71c0ca5e Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Thu, 2 Aug 2007 20:16:59 +0300 Subject: [PATCH] Make sure we have a name for our place --- src/osm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.5