1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
$NetBSD: patch-ae,v 1.4 2005/07/18 01:18:59 kristerw Exp $
--- 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;
}
|