Fix build on systems without A_ITALIC

Unfortunately, this font style doesn't work in X11 either in that case.
This commit is contained in:
2023-07-04 06:45:33 +02:00
parent 5900b0708a
commit 93e0d7027a
2 changed files with 5 additions and 1 deletions

Submodule liberty updated: 717c301207...4c2874649d

View File

@@ -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;
}