From 136618dc082f1f1229c5cdcb6e136c17fe90a41a Mon Sep 17 00:00:00 2001 From: William McBrine Date: Thu, 22 Nov 2018 05:21:59 -0500 Subject: [PATCH] Warning suppression for gcc, --- sdl2/pdcdisp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sdl2/pdcdisp.c b/sdl2/pdcdisp.c index 0e37392b..a0cfeedf 100644 --- a/sdl2/pdcdisp.c +++ b/sdl2/pdcdisp.c @@ -58,6 +58,8 @@ chtype acs_map[128] = A(127) }; +# undef A + #endif Uint32 pdc_lastupdate = 0; @@ -411,7 +413,7 @@ void _new_packet(attr_t attr, int lineno, int x, int len, const chtype *srcp) if (ch & A_ALTCHARSET && !(ch & 0xff80)) { # ifdef PDC_WIDE - if (_grprint(A(ch & 0x7f), dest)) + if (_grprint(ch & (0x7f | A_ALTCHARSET), dest)) { dest.x += pdc_fwidth; continue;