Commit 35c8b6fe authored by Rafaël Carré's avatar Rafaël Carré

winvlc.c: cosmetics

make the loop for copying options in argv nicer
parent 10c10044
......@@ -150,12 +150,10 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
if(!wcscmp(wargv[i], L"--no-crashdump"))
{
crash_handling = FALSE;
continue; /* don't give argument to libvlc */
}
else
{
argv[j] = FromWide (wargv[i]);
j++;
}
argv[j++] = FromWide (wargv[i]);
}
argc = j;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment