update Thu Oct 22 18:37:00 PDT 2009
[pkgsrc.git] / news / tin / patches / patch-ag
1 $NetBSD: patch-ag,v 1.1 2009/10/22 22:01:26 wiz Exp $
2
3 --- src/curses.c.orig   2008-12-30 20:26:23.000000000 +0100
4 +++ src/curses.c
5 @@ -32,6 +32,7 @@
6  #if defined(MULTIBYTE_ABLE) && !defined(NO_LOCALE) && defined(M_UNIX)
7  #      define ReadWch cmdReadWch
8  #endif /* MULTIBYTE_ABLE && !NO_LOCALE && M_UNIX */
9 +#define get_arrow_key cmd_get_arrow_key
10  
11  void my_dummy(void) { }        /* ANSI C requires non-empty file */
12  t_bool have_linescroll = TRUE; /* USE_CURSES always allows line scrolling */
13 @@ -920,6 +921,7 @@ word_highlight_string(
14                         tputs(_reset, 1, outchar);
15         stow_cursor();
16  }
17 +#endif /* USE_CURSES */
18  
19  
20  /*
21 @@ -1142,7 +1144,6 @@ get_arrow_key(
22                         return KEYMAP_UNKNOWN;
23         }
24  }
25 -#endif /* USE_CURSES */
26  
27  
28  /*