diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-12-14 23:15:49 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-12-14 23:15:49 +0000 |
commit | 85875eb16f014a38c312cea35747914999fc8a9c (patch) | |
tree | 95a0b7c1fa6d208d9488103bc3daae261834e3f6 /lib/libcurses/lib_acs.c | |
parent | e5757431ced4619d88d5113d93ab180c85c880c5 (diff) |
ncurses-4.1-971213
Diffstat (limited to 'lib/libcurses/lib_acs.c')
-rw-r--r-- | lib/libcurses/lib_acs.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libcurses/lib_acs.c b/lib/libcurses/lib_acs.c index eae5d2849d2..62ce21befe0 100644 --- a/lib/libcurses/lib_acs.c +++ b/lib/libcurses/lib_acs.c @@ -1,5 +1,4 @@ -/* $OpenBSD: lib_acs.c,v 1.3 1997/12/03 05:21:10 millert Exp $ */ - +/* $OpenBSD: lib_acs.c,v 1.4 1997/12/14 23:15:46 millert Exp $ */ /*************************************************************************** * COPYRIGHT NOTICE * @@ -26,7 +25,7 @@ #include <curses.priv.h> #include <term.h> /* ena_acs, acs_chars */ -MODULE_ID("Id: lib_acs.c,v 1.11 1997/08/15 21:44:16 Alexander.V.Lukyanov Exp $") +MODULE_ID("Id: lib_acs.c,v 1.12 1997/12/02 20:17:46 Alexander.V.Lukyanov Exp $") chtype acs_map[ACS_LEN]; @@ -81,7 +80,7 @@ void init_acs(void) #endif /* ena_acs */ #ifdef acs_chars -#define ALTCHAR(c) (TextOf(c) | A_ALTCHARSET) +#define ALTCHAR(c) ((chtype)(((unsigned char)(c)) | A_ALTCHARSET)) if (acs_chars != NULL) { size_t i = 0; |