[vlc-commits] commit: MacOS: fix compilation (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Sun Jul 18 18:57:34 CEST 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jul 18 18:57:27 2010 +0200| [719baa7f435d47e8e45a0d39365df82b509af721] | committer: Jean-Baptiste Kempf 

MacOS: fix compilation

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=719baa7f435d47e8e45a0d39365df82b509af721
---

 modules/gui/macosx/intf.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 116023f..ac81974 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -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 );
 



More information about the vlc-commits mailing list