mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-07 04:16:34 +01: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