1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-30 19:46:46 +02:00

type fixes

This commit is contained in:
Jfreegman
2014-03-19 03:14:08 -04:00
parent 50a37495f8
commit d49e911fe4
10 changed files with 20 additions and 22 deletions

View File

@ -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;