[vlc-commits] macosx: fix potential link in open panel
Felix Paul Kühne
git at videolan.org
Sun Apr 21 16:44:10 CEST 2013
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Apr 21 16:10:05 2013 +0200| [a3ed2716a7d720e45f2d167dc93eae6cfeea3850] | committer: Felix Paul Kühne
macosx: fix potential link in open panel
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a3ed2716a7d720e45f2d167dc93eae6cfeea3850
---
modules/gui/macosx/open.m | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/gui/macosx/open.m b/modules/gui/macosx/open.m
index d015c49..7abc41c 100644
--- a/modules/gui/macosx/open.m
+++ b/modules/gui/macosx/open.m
@@ -325,6 +325,9 @@ static VLCOpen *_o_sharedMainInstance = nil;
- (void)setMRL:(NSString *)newMRL
{
+ if (!newMRL)
+ newMRL = @"";
+
if (o_mrl)
[o_mrl release];
More information about the vlc-commits
mailing list