summary refs log tree commit diff
diff options
context:
space:
mode:
authorCurtis McEnroe2018-08-04 13:58:44 -0400
committerCurtis McEnroe2018-08-04 13:58:44 -0400
commit95b46b8559ca6951f198bb526f1b5752fcd303f1 (patch)
tree7f10f0421902627109a69656ca55b1ac99892adc
parent5217f876b082c871bd7946e874282cda9ad8a10e (diff)
Define A_ITALIC if not defined
System ncurses on macOS doesn't define it. At least not in El Capitan.
-rw-r--r--ui.c4
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;