When calling config_GetType on a CONFIG_ITEM_KEY, return VLC_VAR_INTEGER instead...
authorAntoine Cellerier <dionoea@videolan.org>
Sun, 4 Nov 2007 21:06:11 +0000 (21:06 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Sun, 4 Nov 2007 21:06:11 +0000 (21:06 +0000)
src/modules/configuration.c

index 1f957dd..eb779e2 100644 (file)
@@ -140,6 +140,7 @@ int __config_GetType( vlc_object_t *p_this, const char *psz_name )
         break;
 
     case CONFIG_ITEM_INTEGER:
+    case CONFIG_ITEM_KEY:
         i_type = VLC_VAR_INTEGER;
         break;