User preferences are now saved when Oolite under GNUstep exits.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1230 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Nikos Barkas 2007-10-23 06:55:25 +00:00
parent de62146790
commit 413c4a143a

View File

@ -843,6 +843,8 @@ static int CompareDisplayModes(id arg1, id arg2, void *context)
- (void) exitApp
{
[[NSUserDefaults standardUserDefaults] synchronize];
OOLog(@"gameController.exitApp",@".GNUstepDefaults synchronized. Exiting.");
OOLoggingTerminate();
SDL_Quit();
exit(0);