[vlc-devel] commit: macosx: fix sprefs reset in master, too ( Felix Paul Kühne )

git version control git at videolan.org
Mon Sep 22 16:08:46 CEST 2008


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Sep 22 16:12:07 2008 +0200| [2340f6f4a91b456587993a1b3dacdf0847364855] | committer: Felix Paul Kühne 

macosx: fix sprefs reset in master, too

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2340f6f4a91b456587993a1b3dacdf0847364855
---

 modules/gui/macosx/simple_prefs.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/macosx/simple_prefs.m b/modules/gui/macosx/simple_prefs.m
index 3307153..10f2ea1 100644
--- a/modules/gui/macosx/simple_prefs.m
+++ b/modules/gui/macosx/simple_prefs.m
@@ -650,8 +650,8 @@ create_toolbar_item( NSString * o_itemIdent, NSString * o_name, NSString * o_des
     if( i_return == NSAlertAlternateReturn )
     {
         config_ResetAll( p_intf );
-        b_intfSettingChanged = b_videoSettingChanged = b_audioSettingChanged = YES;
         [self resetControls];
+        config_SaveConfigFile( p_intf, NULL );
     }
 }
 




More information about the vlc-devel mailing list