summaryrefslogtreecommitdiffstats
path: root/games/xchomp/files/patch-ae
blob: 9c4c06957fb16d38c3594f113db9ff8e95c775c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- props.c.orig	Fri Mar 18 06:13:17 1994
+++ props.c	Thu Mar 16 15:46:08 2000
@@ -116,5 +116,5 @@
       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_q) || (last_key == XK_Q))
 	       do_exit();
@@ -176,5 +176,5 @@
       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())
OpenPOWER on IntegriCloud