diff options
author | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2014-11-22 22:34:45 +0000 |
---|---|---|
committer | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2014-11-22 22:34:45 +0000 |
commit | 0f16a53da3fb62eb08542ece16e01b802201f087 (patch) | |
tree | 9ea8896996c1b28666faa6063dfb52894c7423d7 /navit | |
parent | 7559a003503af66daf3686bd5ba8851a31c6236d (diff) | |
download | navit-svn-0f16a53da3fb62eb08542ece16e01b802201f087.tar.gz |
Fix:maptool:Fix typos in messages and comment.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5962 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit')
-rw-r--r-- | navit/maptool/maptool.c | 2 | ||||
-rw-r--r-- | navit/maptool/osm.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/navit/maptool/maptool.c b/navit/maptool/maptool.c index def9ec68..56e9cc09 100644 --- a/navit/maptool/maptool.c +++ b/navit/maptool/maptool.c @@ -917,7 +917,7 @@ int main(int argc, char **argv) if (start_phase(&p,"generating coastlines")) { osm_process_coastlines(&p, suffix); } - if (start_phase(&p,"assinging towns to countries")) { + if (start_phase(&p,"assigning towns to countries")) { FILE *towns=tempfile(suffix,"towns",0),*boundaries=NULL,*ways=NULL; if (towns) { boundaries=tempfile(suffix,"boundaries",0); diff --git a/navit/maptool/osm.c b/navit/maptool/osm.c index e584c2a5..7de5ff85 100644 --- a/navit/maptool/osm.c +++ b/navit/maptool/osm.c @@ -2030,7 +2030,7 @@ osm_process_towns(FILE *in, FILE *boundaries, FILE *ways, char *suffix) profile(0,NULL); bl=process_boundaries(boundaries, ways); - profile(1,"processed boundraries\n"); + profile(1,"processed boundaries\n"); town_hash=g_hash_table_new_full(g_str_hash, g_str_equal, g_free, NULL); while ((ib=read_item(in))) { @@ -2057,7 +2057,7 @@ osm_process_towns(FILE *in, FILE *boundaries, FILE *ways, char *suffix) else if (item_is_district(*ib)) // just for the town name osm_process_town_by_is_in(ib, is_in, attrs, town_hash); - // treat a district like a town, if we could not find the town it blongs to + // treat a district like a town, if we could not find the town it belongs to if (!item_bin_get_attr(ib, attr_town_name, NULL) && attrs[10].type != attr_town_name) { char *district_name = item_bin_get_attr(ib, attr_district_name, NULL); |