Commit 75729ee1 authored by Antoine Cellerier's avatar Antoine Cellerier

Revert [14452] as it broke the mozilla plugin. We need to find another way

to fix that.
parent 2ab8b2a0
...@@ -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