summaryrefslogtreecommitdiff
path: root/nncmpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'nncmpp.c')
-rw-r--r--nncmpp.c4
1 files changed, 4 insertions, 0 deletions
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;
}