From: Holger L. <de...@la...> - 2006-08-19 09:04:00
|
Hi David, On Saturday 19 August 2006 07:56, David Yoder wrote: > I noticed that if I am running fullscreen and exit due to a failure to lo= ad > 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 spa= ce > 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. Great! Thanks a lot! Do you think you could "port" this patch to tuxtype as well? It has the sam= e=20 problem, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D217448 regards, Holger |