summaryrefslogtreecommitdiff
path: root/navit/vehicle.c
diff options
context:
space:
mode:
authorSebastian Leske <sebastian.leske@sleske.name>2016-10-31 15:06:16 +0100
committerSebastian Leske <sebastian.leske@sleske.name>2016-10-31 15:06:16 +0100
commit60bc2797f0bd71d87a4eece306e2368afe2a8866 (patch)
treeffa45158a52ac6e976785ec054cf1de0a87b4bab /navit/vehicle.c
parent12c891d94ffaabeeec26ccf7e803f5c62777a685 (diff)
downloadnavit-60bc2797f0bd71d87a4eece306e2368afe2a8866.tar.gz
Refactor:core:For plugins, use term 'category' instead of 'type'.
Use the term 'category' for all plugins with the same API (GUI plugins, map plugins etc.). This used to be called 'type', which was confusing, because in the XML config, 'type' refers to what is called 'name' in the code.
Diffstat (limited to 'navit/vehicle.c')
-rw-r--r--navit/vehicle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/vehicle.c b/navit/vehicle.c
index a280fb024..33cecb0e9 100644
--- a/navit/vehicle.c
+++ b/navit/vehicle.c
@@ -122,7 +122,7 @@ vehicle_new(struct attr *parent, struct attr **attrs)
*colon = '\0';
dbg(lvl_debug, "source='%s' type='%s'\n", source->u.str, type);
- vehicletype_new = plugin_get_vehicle_type(type);
+ vehicletype_new = plugin_get_category_vehicle(type);
if (!vehicletype_new) {
dbg(lvl_error, "invalid source '%s': unknown type '%s'\n", source->u.str, type);
g_free(type);