Commit 719baa7f authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

MacOS: fix compilation

parent e7c39a72
...@@ -1047,7 +1047,7 @@ static NSString * VLCToolbarMediaControl = @"VLCToolbarMediaControl"; ...@@ -1047,7 +1047,7 @@ static NSString * VLCToolbarMediaControl = @"VLCToolbarMediaControl";
- (BOOL)application:(NSApplication *)o_app openFile:(NSString *)o_filename - (BOOL)application:(NSApplication *)o_app openFile:(NSString *)o_filename
{ {
BOOL b_autoplay = config_GetInt( VLCIntf, "macosx-autoplay" ); BOOL b_autoplay = config_GetInt( VLCIntf, "macosx-autoplay" );
char *psz_uri = make_URI([o_filename UTF8String]); char *psz_uri = make_URI([o_filename UTF8String], "file" );
if( !psz_uri ) if( !psz_uri )
return( FALSE ); return( FALSE );
......
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