1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/games/xgalaga/files/patch-ae
Pav Lucistnik 735f3e0203 Fix spacebar behaviour under KDE and GNOME.
PR:		ports/59195
Submitted by:	Lee Harr <missive@hotmail.com>
Approved by:	marcus (backup mentor)
2003-11-16 00:41:30 +00:00

19 lines
460 B
Plaintext

--- main.c.orig Mon May 11 08:52:59 1998
+++ main.c Sat Nov 15 19:34:53 2003
@@ -779,6 +779,7 @@
if(gameOver) {
while(W_EventsPending()) {
W_NextEvent(&wev);
+ if (wev.key >= 256) wev.key -= 256;
if(gameOver)
mouseControl = 1;
@@ -826,6 +827,7 @@
while(W_EventsPending()) {
W_NextEvent(&wev);
+ if (wev.key >= 256) wev.key -= 256;
switch(wev.type) {
case W_EV_KEY_OFF: