1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-26 15:03:27 +01:00

Fixed windows crash.

This commit is contained in:
irungentoo 2013-09-24 07:55:02 -04:00
parent e6956b1abc
commit 04a44b7cdb

View File

@ -268,7 +268,9 @@ static void draw_bar()
void prepare_window(WINDOW *w) void prepare_window(WINDOW *w)
{ {
mvwin(w, 0, 0); mvwin(w, 0, 0);
#ifndef WIN32
wresize(w, LINES - 2, COLS); wresize(w, LINES - 2, COLS);
#endif
} }
void draw_active_window(Tox *m) void draw_active_window(Tox *m)