about summary refs log tree commit diff
path: root/ui.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-08-04 13:58:44 -0400
committerJune McEnroe <june@causal.agency>2018-08-04 13:58:44 -0400
commit95b46b8559ca6951f198bb526f1b5752fcd303f1 (patch)
tree7f10f0421902627109a69656ca55b1ac99892adc /ui.c
parentDo not free const string port (diff)
downloadcatgirl-95b46b8559ca6951f198bb526f1b5752fcd303f1.tar.gz
catgirl-95b46b8559ca6951f198bb526f1b5752fcd303f1.zip
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.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;