[vlc-commits] winvlc: fix arguments

Rémi Denis-Courmont git at videolan.org
Thu Jul 28 20:11:01 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jul 28 21:10:49 2011 +0300| [22c3b97b7a8b16bb3ca4769f61a93b0c8ca2358d] | committer: Rémi Denis-Courmont

winvlc: fix arguments

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

 bin/winvlc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bin/winvlc.c b/bin/winvlc.c
index ebccce7..9523455 100644
--- a/bin/winvlc.c
+++ b/bin/winvlc.c
@@ -149,7 +149,7 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
     argv[j++] = FromWide( L"--media-library" );
     argv[j++] = FromWide( L"--no-ignore-config" );
 #ifdef TOP_SRCDIR
-    argv[argc++] = FromWide (L"--data-path=Z:"TOP_SRCDIR"/share");
+    argv[j++] = FromWide (L"--data-path=Z:"TOP_SRCDIR"/share");
 #endif
     for (int i = 1; i < argc; i++)
     {



More information about the vlc-commits mailing list