mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-23 01:33:02 +01:00
Merge pull request #41 from Jman012/master
Let windows.c actually get the tox *m.
This commit is contained in:
commit
a33a3e33a7
@ -195,8 +195,9 @@ void set_active_window(int index)
|
||||
active_window = windows + index;
|
||||
}
|
||||
|
||||
ToxWindow *init_windows()
|
||||
ToxWindow *init_windows(Tox *mToAssign)
|
||||
{
|
||||
m = mToAssign;
|
||||
int n_prompt = add_window(m, new_prompt());
|
||||
|
||||
if (n_prompt == -1 || add_window(m, new_friendlist()) == -1) {
|
||||
|
Loading…
Reference in New Issue
Block a user