Define A_ITALIC if not defined

System ncurses on macOS doesn't define it. At least not in El Capitan.
weechat-hashes
Curtis McEnroe 2018-08-04 13:58:44 -04:00
parent 5217f876b0
commit 95b46b8559
No known key found for this signature in database
GPG Key ID: CEA2F97ADCFCD77C
1 changed files with 4 additions and 0 deletions

4
ui.c
View File

@ -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;