}
#endif
- vlc_global()->psz_vlcpath = strdup( psz_path );
+ psz_vlcpath = strdup( psz_path );
/* Set the default file-translation mode */
#if !defined( UNDER_CE )
HWND ipcwindow;
if( p_this && vlc_global() )
{
- free( vlc_global()->psz_vlcpath );
- vlc_global()->psz_vlcpath = NULL;
+ free( psz_vlcpath );
+ psz_vlcpath = NULL;
}
if( ipcwindow = FindWindow( 0, L"VLC ipc "VERSION ) )