[theme] dangerous bug: init handles to NULL on theme creation
This commit is contained in:
parent
a61fe30148
commit
26e66d9f61
|
@ -95,6 +95,7 @@ struct ax_theme* ax__theme_builder_finish(
|
|||
thm->font_path[i] = (thm->font_path[i] == NULL) ?
|
||||
dflt_font_path :
|
||||
rstrdup(dst_rgn, thm->font_path[i]);
|
||||
thm->font_handle[i] = NULL;
|
||||
}
|
||||
thm->on_load_rgn = rgn_new(dst_rgn, SMALL);
|
||||
thm->on_load = NULL;
|
||||
|
|
Loading…
Reference in New Issue