X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=map.c;h=bbcd7463b1f33de9864a3becb632b2b8c2c3f50e;hb=eadd63b657be979276b0f7bab89f76a632473ab4;hp=8f502006324660fe42329f89a797452652c040d3;hpb=9984564bf78208f9b16e9736a7fd5c768f7dc41d;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 ===");