vlc | branch: master | Felix Paul Kühne <[email protected]> | 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];

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to