summary refs log tree commit diff
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
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 '')
-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;
575842ade0cc96f0638d38411a239111a3a&follow=1'>Remove useless setuid in briJune McEnroe Don't you think it would be better if the setuid bit only gave you permission to do it and didn't do it for you? 2017-07-23Clean up hnel a tiny bitJune McEnroe 2017-07-21Set window size in hnelJune McEnroe 2017-07-21Add hnelJune McEnroe 2017-07-19chmod 600 in dtchJune McEnroe