vlc | branch: master | Felix Paul Kühne <[email protected]> | Sun Feb 12 22:25:21 2012 +0100| [a97866c8f25d9d7645519a3a759683a9a17e2281] | committer: Felix Paul Kühne
macosx: minor optimisation as suggested by Rafael > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a97866c8f25d9d7645519a3a759683a9a17e2281 --- modules/gui/macosx/open.m | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/modules/gui/macosx/open.m b/modules/gui/macosx/open.m index b593ce0..47754df 100644 --- a/modules/gui/macosx/open.m +++ b/modules/gui/macosx/open.m @@ -849,10 +849,7 @@ static VLCOpen *_o_sharedMainInstance = nil; { [o_disc_bd_lbl setStringValue: [[NSFileManager defaultManager] displayNameAtPath: o_currentOpticalDevice]]; [self showOpticalMediaView: o_disc_bd_view withIcon: [[NSWorkspace sharedWorkspace] iconForFile: o_currentOpticalDevice]]; - if (diskType == kVLCMediaBD) - [self setMRL: [NSString stringWithFormat: @"bluray://%@", o_currentOpticalDevice]]; - else - [self setMRL: [NSString stringWithFormat: @"bluray://%@", o_currentOpticalDevice]]; + [self setMRL: [NSString stringWithFormat: @"bluray://%@", o_currentOpticalDevice]]; } else { _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
