From: David Y. <hob...@gm...> - 2006-08-19 05:56:30
|
Dave & All, Thanks for the great program! I just got a binary of a year old with Ubuntu, and wanted to slow things down a bit for a less advanced kiddo. I downloaded the latest from svn, and it was already there. I noticed that if I am running fullscreen and exit due to a failure to load images, the screen resolution stays at 640x480. It's easy enough to change it back, but annoying. So, I modified the exit on errors to cleanup a bit better. Now error exits in setup.c call SDL_Quit and the other heap cleanup that was already present on a normal exit. Except the first error exit because no heap space allocation or SDL calls have been made at that point. I made the assumption that if exiting due to an error, you wouldn't want to save the options to the configuration file. David |