From 93e0d7027a7672be0cfb4ac7ea2b09f921f31a05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Tue, 4 Jul 2023 06:45:33 +0200 Subject: Fix build on systems without A_ITALIC Unfortunately, this font style doesn't work in X11 either in that case. --- nncmpp.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nncmpp.c') diff --git a/nncmpp.c b/nncmpp.c index efe3366..db30cd2 100644 --- a/nncmpp.c +++ b/nncmpp.c @@ -4194,7 +4194,11 @@ info_tab_format_decode_toggle (char c) case '\x01': return A_BOLD; case '\x02': +#ifdef A_ITALIC return A_ITALIC; +#else + return A_UNDERLINE; +#endif default: return 0; } -- cgit v1.2.3