1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-01 08:16:45 +02:00

Merge remote-tracking branch 'upstream/master'

This commit is contained in:
mannol
2014-03-11 00:58:18 +01:00
9 changed files with 100 additions and 41 deletions

View File

@ -197,7 +197,7 @@ void cmd_connect(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*argv)
void cmd_groupchat(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*argv)[MAX_STR_SIZE])
{
if (num_active_windows() >= MAX_WINDOWS_NUM) {
if (get_num_active_windows() >= MAX_WINDOWS_NUM) {
wattron(window, COLOR_PAIR(RED));
wprintw(window, " * Warning: Too many windows are open.\n");
wattron(window, COLOR_PAIR(RED));