diff options
author | June McEnroe <june@causal.agency> | 2018-08-04 13:58:44 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-08-04 13:58:44 -0400 |
commit | 95b46b8559ca6951f198bb526f1b5752fcd303f1 (patch) | |
tree | 7f10f0421902627109a69656ca55b1ac99892adc | |
parent | Do not free const string port (diff) | |
download | catgirl-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.
-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; |