]> git.sesse.net Git - vlc/commitdiff
MacOS: fix compilation
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 18 Jul 2010 16:57:27 +0000 (18:57 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 18 Jul 2010 16:57:55 +0000 (18:57 +0200)
modules/gui/macosx/intf.m

index 116023f4f1e41face91816eeddbeabb685204046..ac819749a25ea5ed11dac84d376c21942763c808 100644 (file)
@@ -1047,7 +1047,7 @@ static NSString * VLCToolbarMediaControl     = @"VLCToolbarMediaControl";
 - (BOOL)application:(NSApplication *)o_app openFile:(NSString *)o_filename
 {
     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 )
         return( FALSE );