[vlc-devel] commit: Put the _same_ _platform-independent_ stuff in the same place ( Rémi Denis-Courmont )
git version control
git at videolan.org
Thu May 22 18:38:23 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Thu May 22 19:39:53 2008 +0300| [da5d49e2845972ebc5ecb8e65544c06a75eb9371]
Put the _same_ _platform-independent_ stuff in the same place
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=da5d49e2845972ebc5ecb8e65544c06a75eb9371
---
modules/misc/lua/vlc.c | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
diff --git a/modules/misc/lua/vlc.c b/modules/misc/lua/vlc.c
index 097e09b..3402c4f 100644
--- a/modules/misc/lua/vlc.c
+++ b/modules/misc/lua/vlc.c
@@ -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
More information about the vlc-devel
mailing list