mirror of
https://github.com/Tha14/toxic.git
synced 2025-06-30 19:46:46 +02:00
type fixes
This commit is contained in:
@ -241,7 +241,9 @@ int add_window(Tox *m, ToxWindow w)
|
||||
wbkgd(w.window, COLOR_PAIR(6));
|
||||
#endif
|
||||
windows[i] = w;
|
||||
w.onInit(&w, m);
|
||||
|
||||
if (w.onInit)
|
||||
w.onInit(&w, m);
|
||||
|
||||
++num_active_windows;
|
||||
|
||||
|
Reference in New Issue
Block a user