diff options
author | Curtis McEnroe | 2018-08-04 13:58:44 -0400 |
---|---|---|
committer | Curtis McEnroe | 2018-08-04 13:58:44 -0400 |
commit | 95b46b8559ca6951f198bb526f1b5752fcd303f1 (patch) | |
tree | 7f10f0421902627109a69656ca55b1ac99892adc /ui.c | |
parent | 5217f876b082c871bd7946e874282cda9ad8a10e (diff) |
Define A_ITALIC if not defined
System ncurses on macOS doesn't define it. At least not in El Capitan.
Diffstat (limited to 'ui.c')
-rw-r--r-- | ui.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui.c b/ui.c index d0f56f0..a8e40d9 100644 --- a/ui.c +++ b/ui.c @@ -29,6 +29,10 @@ #include "chat.h" +#ifndef A_ITALIC +#define A_ITALIC A_NORMAL +#endif + static const int TOPIC_COLS = 512; static const int CHAT_LINES = 100; static const int INPUT_COLS = 512; |