diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-06-26 20:15:01 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-06-26 20:15:01 +0000 |
commit | 30ebeb0552c154283b9b0bb3a2e037b3ebcc7c0a (patch) | |
tree | 4b6785150ee3b5d8e47da0272c230bc48a02676e /navit/map.c | |
parent | 054e2ba09cf411157025db2a364e2be6ae33970d (diff) | |
download | navit-30ebeb0552c154283b9b0bb3a2e037b3ebcc7c0a.tar.gz |
Fix:core:More descriptive error messages
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1172 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/map.c')
-rw-r--r-- | navit/map.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/navit/map.c b/navit/map.c index c2eb0e7ad..103315a46 100644 --- a/navit/map.c +++ b/navit/map.c @@ -54,8 +54,10 @@ map_new(const char *type, struct attr **attrs) maptype_new=plugin_get_map_type(type); - if (! maptype_new) + if (! maptype_new) { + dbg(0,"invalid type '%s'\n", type); return NULL; + } m=g_new0(struct map, 1); m->active=1; |