]> git.sesse.net Git - vlc/blobdiff - modules/misc/lua/vlc.c
Remove libvlc->psz_homedir and use config_GetHomeDir() instead
[vlc] / modules / misc / lua / vlc.c
index 3402c4ff41bf859c4ea79155d519e559d32b0db7..75adb224461c8937c2b953748bf425ead3526fc0 100644 (file)
@@ -160,7 +160,7 @@ int vlclua_datadir( lua_State *L )
 }
 int vlclua_homedir( lua_State *L )
 {
-    lua_pushstring( L, vlclua_get_this( L )->p_libvlc->psz_homedir );
+    lua_pushstring( L, config_GetHomeDir() );
     return 1;
 }
 int vlclua_configdir( lua_State *L )