[vlc-devel] commit: Here too (and I'll stop spamming for today) (Antoine Cellerier )

git version control git at videolan.org
Mon Jan 19 23:43:11 CET 2009


vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Mon Jan 19 23:42:59 2009 +0100| [3b971b5060683d089b67132d4ff85352ad4ac71f] | committer: Antoine Cellerier 

Here too (and I'll stop spamming for today)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3b971b5060683d089b67132d4ff85352ad4ac71f
---

 modules/misc/lua/intf.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/misc/lua/intf.c b/modules/misc/lua/intf.c
index 3becf7b..7139264 100644
--- a/modules/misc/lua/intf.c
+++ b/modules/misc/lua/intf.c
@@ -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;




More information about the vlc-devel mailing list