openbsd-ports/games/xchomp/patches/patch-main_c

13 lines
555 B
Plaintext
Raw Normal View History

2007-10-26 17:19:16 -04:00
$OpenBSD: patch-main_c,v 1.1 2007/10/26 21:19:16 ajacoutot Exp $
--- 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;
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;