$NetBSD$

--- source/hdupdate.c.orig	Mon Jan 17 21:10:00 2005
+++ source/hdupdate.c	Mon Jul 18 03:09:11 2005
@@ -235,10 +235,10 @@
 	{
 		switch (event.object)
 		{
-			case UP:
+			case EV_UP:
 			case DOWN:
 			{
-				if (event.object==UP && win->selected > 0)
+				if (event.object==EV_UP && win->selected > 0)
 				{
 					if (--new_selected < win->first)
 					{
@@ -252,7 +252,7 @@
 				{
 					if (++new_selected > win->first+win->height-1)
 					{
-						debug_windowscroll(2, win->top, D_SCREENWIDTH-1, win->top+win->height-1, UP, 1);
+						debug_windowscroll(2, win->top, D_SCREENWIDTH-1, win->top+win->height-1, EV_UP, 1);
 						win->first++;
 					}
 				}
@@ -828,7 +828,7 @@
 			amount_to_scroll = buffered_code_lines;
 
 		debug_windowscroll(2, win->top, 
-			D_SCREENWIDTH-1, win->top+win->height-1, UP, amount_to_scroll);
+			D_SCREENWIDTH-1, win->top+win->height-1, EV_UP, amount_to_scroll);
 
 		win->first += amount_to_scroll;
 	}
