pkgsrc/games/hugo/patches/patch-ag

22 lines
592 B
Text

$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++)
{