[vlc-commits] MacOS X: fix no menu dvd MRL in open dialog

Jean-Baptiste Kempf git at videolan.org
Tue Feb 14 18:54:52 CET 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Feb 14 18:53:49 2012 +0100| [c0433c8bbe69b5a5aa5ea603a77068d29c1c0d4f] | committer: Jean-Baptiste Kempf

MacOS X: fix no menu dvd MRL in open dialog

Close #6027

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

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

diff --git a/modules/gui/macosx/open.m b/modules/gui/macosx/open.m
index 47754df..2753f6c 100644
--- a/modules/gui/macosx/open.m
+++ b/modules/gui/macosx/open.m
@@ -822,7 +822,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
             [self setMRL: [NSString stringWithFormat: @"dvdnav://%@", pathToOpen]];
             [self showOpticalMediaView: o_disc_dvd_view withIcon: [[NSWorkspace sharedWorkspace] iconForFile: o_currentOpticalDevice]];
         } else {
-            [self setMRL: [NSString stringWithFormat: @"dvdread://%@@%i:%i-", pathToOpen, [o_disc_dvdwomenus_title intValue], [o_disc_dvdwomenus_chapter intValue]]];
+            [self setMRL: [NSString stringWithFormat: @"dvdread://%@#%i:%i-", pathToOpen, [o_disc_dvdwomenus_title intValue], [o_disc_dvdwomenus_chapter intValue]]];
             [self showOpticalMediaView: o_disc_dvdwomenus_view withIcon: [[NSWorkspace sharedWorkspace] iconForFile: o_currentOpticalDevice]];
         }
     }



More information about the vlc-commits mailing list