<URL: http://bugs.freeciv.org/Ticket/Display.html?id=35707 >
> [dmarks - So 11. Feb 2007, 13:39:48]:
>
> Any version of the SDL client on OSX or WinXP:
>
> Quitting the SDL client by clicking the X button in the title bar, is
> treated as a crash by the OS.
>
> OSX's terminal gives outputs "Abort trap" while WinXP shows its
> 'report crash' dialog.
>
> ~Daniel
>
Patch attached (and committed).
Index: client/gui-sdl/gui_main.c
===================================================================
--- client/gui-sdl/gui_main.c (Revision 12617)
+++ client/gui-sdl/gui_main.c (Arbeitskopie)
@@ -602,7 +602,7 @@
switch (Main.event.type) {
case SDL_QUIT:
- abort();
+ return MAX_ID;
break;
case SDL_KEYUP:
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev