diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-07-04 06:45:33 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-07-04 06:45:33 +0200 |
commit | 93e0d7027a7672be0cfb4ac7ea2b09f921f31a05 (patch) | |
tree | ca1f7120b83c9927adfc6dd4d9fc8d19a2b204be | |
parent | 5900b0708a42b8b6e3ebef4e08f4ca4c6629bf7b (diff) | |
download | nncmpp-93e0d7027a7672be0cfb4ac7ea2b09f921f31a05.tar.gz nncmpp-93e0d7027a7672be0cfb4ac7ea2b09f921f31a05.tar.xz nncmpp-93e0d7027a7672be0cfb4ac7ea2b09f921f31a05.zip |
Fix build on systems without A_ITALIC
Unfortunately, this font style doesn't work in X11 either in that case.
m--------- | liberty | 0 | ||||
-rw-r--r-- | nncmpp.c | 4 |
2 files changed, 4 insertions, 0 deletions
diff --git a/liberty b/liberty -Subproject 717c30120790e5b1d8b11231996f70f30a1dada +Subproject 4c2874649d4b1d2414793d60915d309f0bf6711 @@ -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; } |