Commit be8b473e authored by gbazin's avatar gbazin
Browse files

* src/misc/win32_specific.c: mozilla plugin fix.

parent 3217bc5b
...@@ -60,7 +60,11 @@ void system_Init( vlc_t *p_this, int *pi_argc, char *ppsz_argv[] ) ...@@ -60,7 +60,11 @@ void system_Init( vlc_t *p_this, int *pi_argc, char *ppsz_argv[] )
else psz_path[0] = '\0'; else psz_path[0] = '\0';
#else #else
if( !GetModuleFileName( NULL, psz_path, MAX_PATH ) ) if( ppsz_argv[0] )
{
GetFullPathName( ppsz_argv[0], MAX_PATH, psz_path, &psz_vlc );
}
else if( !GetModuleFileName( NULL, psz_path, MAX_PATH ) )
{ {
psz_path[0] = '\0'; psz_path[0] = '\0';
} }
......
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