[SDL] BeOS port fix: PrintScreen key crashing
revol at free.fr
Wed Mar 29 07:26:55 PST 2006
It seems the latest SDL crashes when someone hits the PrtScrn key in
ZETA (BeOS R6), somewhere it gets a negative value as key code (or a
big unsigned maybe ?), and uses it as an index in the keysym table...
I'll investigate the cause for the negative value, but it's always
better to check for bounds correctly when indexing a table. The
attached diff fixes it.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
More information about the SDL