summaryrefslogtreecommitdiff
path: root/games/hugo/patches/patch-ag
blob: 7a33ebcbe267531709e2172f67f719f3ec395fb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ag,v 1.1 2004/05/28 14:24:04 dillo Exp $

--- gcc/hdgcc.c.orig	2002-08-08 13:28:19.000000000 +0200
+++ gcc/hdgcc.c
@@ -193,7 +193,7 @@ GetNewEvent:
 			return;
 		}
 		case UP_ARROW:
-			{event.action = MOVE; event.object = UP; break;}
+			{event.action = MOVE; event.object = EV_UP; break;}
 		case DOWN_ARROW:
 			{event.action = MOVE; event.object = DOWN; break;}
 		case RIGHT_ARROW:
@@ -821,7 +821,7 @@ void debug_windowscroll(int left, int to
 	{
 	  switch (param)
 	  {
-		case UP:
+		case EV_UP:
 			for (y=top+1; y<=bottom; y++)
 			for (x=left; x<=right; x++)
 			{