1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-26 21:43:26 +01:00
This commit is contained in:
Jfreegman 2013-09-18 00:26:33 -04:00
commit dfab23163b

View File

@ -215,8 +215,9 @@ void set_active_window(int index)
active_window = windows + index; active_window = windows + index;
} }
ToxWindow *init_windows() ToxWindow *init_windows(Tox *mToAssign)
{ {
m = mToAssign;
int n_prompt = add_window(m, new_prompt()); int n_prompt = add_window(m, new_prompt());
if (n_prompt == -1 || add_window(m, new_friendlist()) == -1) { if (n_prompt == -1 || add_window(m, new_friendlist()) == -1) {