[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:58:33 CEST 2010


vlc/vlc-1.1 | branch: master | Sebastien Zwickert <dilaroga at free.fr> | Mon Jun 28 13:28:30 2010 +0200| [49bf115d1af4bc958493f30a185f5c1fcc0b346e] | 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>
(cherry picked from commit c6b77506dde6f72b217bfb890cc7800fc1e68d9d)

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

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

 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