[vlc-commits] macosx: update old preferences detection code
Felix Paul Kühne
git at videolan.org
Mon Apr 9 20:34:18 CEST 2012
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Apr 9 20:33:49 2012 +0200| [e16774656a1e7abc526d1ac0d37755fd38a3e496] | committer: Felix Paul Kühne
macosx: update old preferences detection code
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e16774656a1e7abc526d1ac0d37755fd38a3e496
---
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 2cc8143..76b602e 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -1878,7 +1878,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