X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=map.c;fp=map.c;h=bbcd7463b1f33de9864a3becb632b2b8c2c3f50e;hb=9e0796f5be17bd5e65c31865cac25d38c8b2a0fb;hp=8f502006324660fe42329f89a797452652c040d3;hpb=d124e4f3beb1ac6c92462b74fabb887ac7071bbe;p=leo.git diff --git a/map.c b/map.c index 8f50200..bbcd746 100644 --- a/map.c +++ b/map.c @@ -236,6 +236,8 @@ static void map_load_source(struct data_source *ds) break; case DATA_SOURCE_FIXED: msg(L_INFO, "Adding fixed objects"); + if (!ds->file) + ds->file = "fixed"; fixed_add(); break; case DATA_SOURCE_SHAPE: @@ -249,6 +251,7 @@ static void map_load_source(struct data_source *ds) die("Invalid data source format"); } + osm_stats(); if (debug_dump_source) { puts("=== Source data ===");