]> git.sesse.net Git - vlc/commitdiff
macosx: Do NOT call config_SaveConfigFile() if you don't intend to save ALL the optio...
authorDerk-Jan Hartman <hartman@videolan.org>
Mon, 25 Aug 2008 13:59:26 +0000 (15:59 +0200)
committerDerk-Jan Hartman <hartman@videolan.org>
Mon, 25 Aug 2008 14:36:00 +0000 (16:36 +0200)
modules/gui/macosx/intf.m

index 256f6a23318c4b55f082cdcad2829cb73caa2a61..015cd16683d3165c48b6734543572d3c8665ecbb 100644 (file)
@@ -659,11 +659,6 @@ static VLCMain *_o_sharedMainInstance = nil;
 
     /* make sure that the current volume is saved */
     config_PutInt( p_intf->p_libvlc, "volume", i_lastShownVolume );
-    returnedValue = config_SaveConfigFile( p_intf->p_libvlc, "main" );
-    if( returnedValue != 0 )
-        msg_Err( p_intf,
-                 "error while saving volume in osx's terminate method (%i)",
-                 returnedValue );
 
     /* save the prefs if they were changed in the extended panel */
     if(o_extended && [o_extended getConfigChanged])