[vlc-commits] macosx: enable opening of *.txt named subtitles through the Video menu
Felix Paul Kühne
git at videolan.org
Sun Jan 30 17:11:22 CET 2011
vlc/vlc-1.1 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Jan 30 17:11:14 2011 +0100| [0b5079a3bbda5d9e7a9e15ba6bc35c17d218245b] | committer: Felix Paul Kühne
macosx: enable opening of *.txt named subtitles through the Video menu
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=0b5079a3bbda5d9e7a9e15ba6bc35c17d218245b
---
modules/gui/macosx/controls.m | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/macosx/controls.m b/modules/gui/macosx/controls.m
index c64f2ef..54462f4 100644
--- a/modules/gui/macosx/controls.m
+++ b/modules/gui/macosx/controls.m
@@ -584,7 +584,7 @@
[openPanel setCanChooseFiles: YES];
[openPanel setCanChooseDirectories: NO];
[openPanel setAllowsMultipleSelection: YES];
- i_returnValue = [openPanel runModalForDirectory: [NSString stringWithUTF8String: path] file: nil types: [NSArray arrayWithObjects: @"cdg",@"@idx",@"srt",@"sub",@"utf",@"ass",@"ssa",@"aqt",@"jss",@"psb",@"rt",@"smi", nil]];
+ i_returnValue = [openPanel runModalForDirectory: [NSString stringWithUTF8String: path] file: nil types: [NSArray arrayWithObjects: @"cdg",@"@idx",@"srt",@"sub",@"utf",@"ass",@"ssa",@"aqt",@"jss",@"psb",@"rt",@"smi",@"txt", nil]];
free( path );
if( i_returnValue == NSOKButton )
More information about the vlc-commits
mailing list