]> err.no Git - mapper/commitdiff
misc
authorKaj-Michael Lang <milang@angel.tal.org>
Sat, 21 Jul 2007 17:59:52 +0000 (20:59 +0300)
committerKaj-Michael Lang <milang@angel.tal.org>
Sat, 21 Jul 2007 17:59:52 +0000 (20:59 +0300)
src/osm.c

index 3bbab093902d9a9b429e5373d896f73158bd310f..805ef51e666f94a16cd94bf8a70d624aa16fb217 100644 (file)
--- a/src/osm.c
+++ b/src/osm.c
@@ -898,9 +898,9 @@ switch (t) {
                if (node_cnt % 262140==0) {
                        g_printf("Nodes: %d/%d\n", node_cnt, noded_cnt);
                }
-               if (cnode->data && cnode->data->type==NODE_PLAIN)
+               if (cnode->data && cnode->data->type==NODE_PLAIN) {
                        osm_free_node_data(cnode);
-               else if (cnode->data) {
+               else if (cnode->data) {
                        osm_poi=g_slist_prepend(osm_poi, cnode);
                }
                cnode=NULL;