diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-01-24 16:01:52 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-01-24 16:01:52 +0000 |
commit | 80b5228026ba43de9855a7f9e0ad53fef2396fe0 (patch) | |
tree | 8fbd4765761a44ea871959314891754a1899c769 /navit/plugin.c | |
parent | e3e1d43e227984f6b6ba931328e72e02e2c9239c (diff) | |
download | navit-svn-80b5228026ba43de9855a7f9e0ad53fef2396fe0.tar.gz |
Fix:Core:MSVC fixes|Thanks chollya
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3976 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/plugin.c')
-rw-r--r-- | navit/plugin.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/navit/plugin.c b/navit/plugin.c index 7027b675..44ea7d12 100644 --- a/navit/plugin.c +++ b/navit/plugin.c @@ -373,11 +373,13 @@ 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); GList *l,*lpls; struct name_val *nv; struct plugin *pl; char *mod_name, *filename=NULL, *corename=NULL; + + dbg(1, "type=\"%s\", name=\"%s\"\n", type_name, name); + l=plugin_types[type]; while (l) { nv=l->data; |