]> git.sesse.net Git - vlc/blobdiff - modules/misc/lua/vlc.c
Put the _same_ _platform-independent_ stuff in the same place
[vlc] / modules / misc / lua / vlc.c
index 097e09b6da172633b04e8bebe469c35ab521ee6d..3402c4ff41bf859c4ea79155d519e559d32b0db7 100644 (file)
@@ -425,17 +425,10 @@ int vlclua_dir_list( vlc_object_t *p_this, const char *luadirname,
                       psz_vlcpath, luadirname )  < 0 )
             return VLC_ENOMEM;
         i++;
-#       ifdef WIN32
-        if( asprintf( &ppsz_dir_list[i], "%s" DIR_SEP "scripts" DIR_SEP "%s",
+        if( asprintf( &ppsz_dir_list[i], "%s" DIR_SEP "share" DIR_SEP "lua" DIR_SEP "%s",
                       psz_vlcpath, luadirname )  < 0 )
             return VLC_ENOMEM;
         i++;
-#       else
-         if( asprintf( &ppsz_dir_list[i], "%s" DIR_SEP "share" DIR_SEP "lua" DIR_SEP "%s",
-                      psz_vlcpath, luadirname )  < 0 )
-            return VLC_ENOMEM;
-        i++;
-#       endif
 
     }
 #   else