1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-09-18 19:46:52 +02:00

Fix a bunch of misc bugs and corner cases

This commit is contained in:
Jfreegman
2015-11-08 03:57:01 -05:00
parent 14a8bdb874
commit fa0e645a79
12 changed files with 99 additions and 50 deletions

View File

@@ -400,6 +400,9 @@ void on_window_resize(void)
getmaxyx(stdscr, y2, x2);
y2 -= 2;
if (y2 <= 0 || x2 <= 0)
return;
size_t i;
for (i = 0; i < MAX_WINDOWS_NUM; ++i) {