2007-10-26 17:19:16 -04:00
|
|
|
$OpenBSD: patch-main_c,v 1.1 2007/10/26 21:19:16 ajacoutot Exp $
|
2000-03-22 01:35:32 -05:00
|
|
|
--- main.c.orig Fri Mar 18 06:12:24 1994
|
2007-10-26 17:19:16 -04:00
|
|
|
+++ main.c Fri Oct 26 23:02:48 2007
|
|
|
|
@@ -166,7 +166,7 @@ play_game() {
|
|
|
|
if (event.xany.window != window) continue;
|
2000-03-22 01:35:32 -05:00
|
|
|
switch (event.type) {
|
|
|
|
case KeyPress:
|
|
|
|
- XLookupString(&event, &c_buf, 1, &last_key, &status);
|
|
|
|
+ XLookupString((XKeyEvent *) &event, &c_buf, 1, &last_key, &status);
|
|
|
|
if (last_key == XK_space)
|
|
|
|
if (!pause_seq())
|
2007-10-26 17:19:16 -04:00
|
|
|
goto demo;
|