]> git.sesse.net Git - vlc/commitdiff
Here too (and I'll stop spamming for today)
authorAntoine Cellerier <dionoea@videolan.org>
Mon, 19 Jan 2009 22:42:59 +0000 (23:42 +0100)
committerAntoine Cellerier <dionoea@videolan.org>
Mon, 19 Jan 2009 22:42:59 +0000 (23:42 +0100)
modules/misc/lua/intf.c

index 3becf7bda94e34bc413c3927c6c8ec4fc517da68..7139264671e345310708578fe310bf365cfdd86a 100644 (file)
@@ -138,7 +138,7 @@ static char *GetModuleName( intf_thread_t *p_intf )
             return strdup( pp_shortcuts[i].psz_name );
     }
 
-    return var_GetString( p_intf, "lua-intf" );
+    return var_CreateGetString( p_intf, "lua-intf" );
 }
 
 static const luaL_Reg p_reg[] = { { NULL, NULL } };
@@ -231,7 +231,7 @@ int Open_LuaIntf( vlc_object_t *p_this )
     }
     /* </gruik> */
 
-    psz_config = config_GetPsz( p_intf, "lua-config" );
+    psz_config = var_CreateGetString( p_intf, "lua-config" );
     if( psz_config && *psz_config )
     {
         char *psz_buffer;