[vlc-commits] macosx: update old preferences detection code
Felix Paul Kühne
git at videolan.org
Mon Apr 9 20:36:48 CEST 2012
vlc/vlc-2.0 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Apr 9 20:33:49 2012 +0200| [13ba34806115e956e3243cf42af45b01b3172593] | committer: Felix Paul Kühne
macosx: update old preferences detection code
(cherry picked from commit e16774656a1e7abc526d1ac0d37755fd38a3e496)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=13ba34806115e956e3243cf42af45b01b3172593
---
modules/gui/macosx/intf.m | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index acf1d30..2b4a812 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -1877,7 +1877,7 @@ unsigned int CocoaKeyToVLC( unichar i_key )
NSString * preferences = [[libraries objectAtIndex:0] stringByAppendingPathComponent:@"Preferences"];
/* File not found, don't attempt anything */
- if(![[NSFileManager defaultManager] fileExistsAtPath:[preferences stringByAppendingPathComponent:@"VLC"]] &&
+ if(![[NSFileManager defaultManager] fileExistsAtPath:[preferences stringByAppendingPathComponent:@"org.videolan.vlc"]] &&
![[NSFileManager defaultManager] fileExistsAtPath:[preferences stringByAppendingPathComponent:@"org.videolan.vlc.plist"]] )
{
[[NSUserDefaults standardUserDefaults] setInteger:kCurrentPreferencesVersion forKey:kVLCPreferencesVersion];
More information about the vlc-commits
mailing list