URL:
<http://gna.org/patch/?5906>
Summary: Accept positive return from SDL_PushEvent()
Project: Freeciv
Submitted by: cazfi
Submitted on: Fri 06 Mar 2015 03:49:20 AM EET
Category: client-sdl2
Priority: 5 - Normal
Status: Ready For Test
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.6.0, 3.0.0
_______________________________________________________
Details:
In case of SDL2, also '1' is good return value from SDL_PushEvent(). Our
sdl-clients have been coded to work according to old documentation that only
'0' (success) or '-1' (failure) may get returned (code assumes also everything
else to be failure).
Attached patch makes us to not consider any positive values errors.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 06 Mar 2015 03:49:20 AM EET Name: SdlPushEventSuccess.patch Size:
521B By: cazfi
<http://gna.org/patch/download.php?file_id=24005>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?5906>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev