[vlc-devel] commit: macosx: Make sure preferences version is saved. (Pierre d' Herbemont )
git version control
git at videolan.org
Tue Sep 16 15:28:03 CEST 2008
vlc | branch: 0.9-bugfix | Pierre d'Herbemont <pdherbemont at videolan.org> | Tue Sep 16 09:16:59 2008 +0200| [9836bd0e1d3d074f42820da6188e97c0a540abfa] | committer: Felix Paul Kühne
macosx: Make sure preferences version is saved.
Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9836bd0e1d3d074f42820da6188e97c0a540abfa
---
modules/gui/macosx/intf.m | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index e983c85..6333335 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -2257,6 +2257,7 @@ end:
[NSUserDefaults resetStandardUserDefaults];
[[NSUserDefaults standardUserDefaults] setInteger:kCurrentPreferencesVersion forKey:kVLCPreferencesVersion];
+ [[NSUserDefaults standardUserDefaults] synchronize];
/* Relaunch now */
const char * path = [[[NSBundle mainBundle] executablePath] UTF8String];
More information about the vlc-devel
mailing list