diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-09-03 09:58:39 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-09-03 09:58:39 +0000 |
commit | 433acb7726dd6470b533f076214815ce93688465 (patch) | |
tree | 85a002ff023d435611975a9df450ad0a62edc911 /navit/bookmarks.c | |
parent | 801d7573e8a5ac93400fedea054fa629c981742a (diff) | |
download | navit-svn-433acb7726dd6470b533f076214815ce93688465.tar.gz |
Add:Core:More support for waypoints
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3552 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/bookmarks.c')
-rw-r--r-- | navit/bookmarks.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/navit/bookmarks.c b/navit/bookmarks.c index c05d2490..39384987 100644 --- a/navit/bookmarks.c +++ b/navit/bookmarks.c @@ -666,7 +666,10 @@ bookmarks_append_coord(struct bookmarks *this_, char *file, struct pcoord *c, in if (f) { if (c) { int i; - fprintf(f,"type=%s label=\"%s\"\n", type, description); + if (description) + fprintf(f,"type=%s label=\"%s\"\n", type, description); + else + fprintf(f,"type=%s\n", type); for (i = 0 ; i < count ; i++) { prostr = projection_to_name(c[i].pro,NULL); fprintf(f,"%s%s%s0x%x %s0x%x\n", |