mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-30 03:03:26 +01:00
Fixed windows crash.
This commit is contained in:
parent
e6956b1abc
commit
04a44b7cdb
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user