From f624c13a046e879c373e1a2927089e4f2fc8c059 Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Sun, 3 Feb 2008 19:10:54 +0100 Subject: [PATCH] gcc says those values are out of bounds Signed-off-by: Pierre Habouzit --- madtty/madtty.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/madtty/madtty.c b/madtty/madtty.c index c35959a..b876a73 100644 --- a/madtty/madtty.c +++ b/madtty/madtty.c @@ -738,13 +738,15 @@ void madtty_init_vt100_graphics(void) vt100['f' - 0x41] = ACS_DEGREE; vt100['g' - 0x41] = ACS_PLMINUS; vt100['~' - 0x41] = ACS_BULLET; +#if 0 /* out of bounds */ vt100[',' - 0x41] = ACS_LARROW; vt100['+' - 0x41] = ACS_RARROW; vt100['.' - 0x41] = ACS_DARROW; vt100['-' - 0x41] = ACS_UARROW; + vt100['0' - 0x41] = ACS_BLOCK; +#endif vt100['h' - 0x41] = ACS_BOARD; vt100['i' - 0x41] = ACS_LANTERN; - vt100['0' - 0x41] = ACS_BLOCK; /* these defaults were invented for ncurses */ vt100['p' - 0x41] = ACS_S3; vt100['r' - 0x41] = ACS_S7; -- 2.20.1