summaryrefslogtreecommitdiff
path: root/games/hugo/patches/patch-af
blob: d95c7d6ef7a8f6b6641c752c721d96f9cd5f6749 (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-af,v 1.3 2005/07/18 01:18:59 kristerw Exp $

--- source/hdwindow.c.orig	Mon Jan 17 21:17:00 2005
+++ source/hdwindow.c	Mon Jul 18 03:09:11 2005
@@ -349,7 +349,7 @@
 
 				switch (event.object)
 				{
-					case UP:
+					case EV_UP:
 					{
 						/* if previous item is a separator */
 	                                        if (menu[m][--selection][0]=='-')
@@ -920,7 +920,7 @@
 			{
 				switch (event.object)
 				{
-					case UP:
+					case EV_UP:
 					{
 						if (this==1) break;
 						if (--this < first) first--;