summaryrefslogtreecommitdiff
path: root/lib/libcurses/lib_acs.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-12-03 05:21:47 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-12-03 05:21:47 +0000
commit211326e37501ac01a66994a221020b75ab5f63f0 (patch)
tree6d6c7182f1034b1b04c98386a1c3ba44e8accd5f /lib/libcurses/lib_acs.c
parent7c742f381e7808d0b12c17b534305751f3ebb0cb (diff)
Merge of ncurses-4.1-971129
Diffstat (limited to 'lib/libcurses/lib_acs.c')
-rw-r--r--lib/libcurses/lib_acs.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libcurses/lib_acs.c b/lib/libcurses/lib_acs.c
index e72c653bebf..eae5d2849d2 100644
--- a/lib/libcurses/lib_acs.c
+++ b/lib/libcurses/lib_acs.c
@@ -1,3 +1,5 @@
+/* $OpenBSD: lib_acs.c,v 1.3 1997/12/03 05:21:10 millert Exp $ */
+
/***************************************************************************
* COPYRIGHT NOTICE *
@@ -24,9 +26,9 @@
#include <curses.priv.h>
#include <term.h> /* ena_acs, acs_chars */
-MODULE_ID("Id: lib_acs.c,v 1.8 1997/04/24 11:04:07 tom Exp $")
+MODULE_ID("Id: lib_acs.c,v 1.11 1997/08/15 21:44:16 Alexander.V.Lukyanov Exp $")
-chtype acs_map[128];
+chtype acs_map[ACS_LEN];
void init_acs(void)
{
@@ -92,7 +94,7 @@ void init_acs(void)
case 'q':case 'x':case 'n':case 'o':
case 's':case '`':case 'a':case 'f':
case 'g':case '~':case ',':case '+':
- case '.':case '-':case 'h':case 'I':
+ case '.':case '-':case 'h':case 'i':
case '0':case 'p':case 'r':case 'y':
case 'z':case '{':case '|':case '}':
acs_map[(unsigned int)acs_chars[i]] =
@@ -105,7 +107,6 @@ void init_acs(void)
}
}
#ifdef TRACE
-#define SIZEOF(v) (sizeof(v)/sizeof(v[0]))
/* Show the equivalent mapping, noting if it does not match the
* given attribute, whether by re-ordering or duplication.
*/