mirror of
https://github.com/Tha14/toxic.git
synced 2026-01-24 17:13:15 +01:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -99,7 +99,7 @@ void cmd_groupinvite(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*a
|
||||
|
||||
void cmd_join_group(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));
|
||||
|
||||
Reference in New Issue
Block a user