[vlc-commits] commit: MacOS: fixes an issue with the recents item that doesn' t list the opened media since changes made in b0620aea6b50d3062d1240e6d4a3945ca40b5e92 . (Sebastien Zwickert )

git at videolan.org git at videolan.org
Thu Jul 1 13:46:38 CEST 2010


vlc | branch: master | Sebastien Zwickert <dilaroga at free.fr> | Mon Jun 28 13:28:30 2010 +0200| [c6b77506dde6f72b217bfb890cc7800fc1e68d9d] | committer: Jean-Baptiste Kempf 

MacOS: fixes an issue with the recents item that doesn't list the opened media since changes made in b0620aea6b50d3062d1240e6d4a3945ca40b5e92.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m
index db1b8e0..1c19f74 100644
--- a/modules/gui/macosx/playlist.m
+++ b/modules/gui/macosx/playlist.m
@@ -1161,7 +1161,7 @@
     }
 
     /* 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]



More information about the vlc-commits mailing list