]> git.sesse.net Git - vlc/commitdiff
MacOS: fixes an issue with the recents item that doesn't list the opened media since...
authorSebastien Zwickert <dilaroga@free.fr>
Mon, 28 Jun 2010 11:28:30 +0000 (13:28 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 1 Jul 2010 11:46:43 +0000 (13:46 +0200)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/macosx/playlist.m

index db1b8e08f2eebe2105bf03b1b1474d525208124e..1c19f7439a3c73324c0aa4c71c70c3619e0e536a 100644 (file)
     }
 
     /* Recent documents menu */
-    o_true_file = [NSURL fileURLWithPath: o_uri];
+    o_true_file = [NSURL URLWithString: o_uri];
     if( o_true_file != nil && (BOOL)config_GetInt( p_playlist, "macosx-recentitems" ) == YES )
     {
         [[NSDocumentController sharedDocumentController]