diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-01-03 19:11:30 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-01-03 19:11:30 +0000 |
commit | 8144f625c5ea24c230686a416857ecd3ecf5cbdb (patch) | |
tree | 9a442701a851c26fe17aa6645e802072f69354a9 /navit/plugin.c | |
parent | a39b591cd7a9f1ccaf0551b93b78e85dbe42d4c0 (diff) | |
download | navit-svn-8144f625c5ea24c230686a416857ecd3ecf5cbdb.tar.gz |
Fix:Core:Renamed data to map to clean up things a bit
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1884 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/plugin.c')
-rw-r--r-- | navit/plugin.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/navit/plugin.c b/navit/plugin.c index 6496f746..8849bc1e 100644 --- a/navit/plugin.c +++ b/navit/plugin.c @@ -308,7 +308,7 @@ plugins_destroy(struct plugins *pls) void * plugin_get_type(enum plugin_type type, const char *type_name, const char *name) { - dbg(1, "type=\"%s\", name=\"%s\"\n", type_name, name); + dbg(0, "type=\"%s\", name=\"%s\"\n", type_name, name); GList *l,*lpls; struct name_val *nv; struct plugin *pl; @@ -323,8 +323,6 @@ plugin_get_type(enum plugin_type type, const char *type_name, const char *name) if (!pls) return NULL; lpls=pls->list; - if(!g_ascii_strcasecmp(type_name, "map")) - type_name="data"; filename=g_strjoin("", "lib", type_name, "_", name, NULL); corename=g_strjoin("", "lib", type_name, "_", "core", NULL); while (lpls) { |