mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
$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;
|
|
}
|