Commit 995c756f authored by Raymond Penners's avatar Raymond Penners

added safety

parent 3d279086
......@@ -161,7 +161,8 @@ void
xp_theme_reset (void)
{
xp_theme_close_open_handles ();
was_theming_active = (*is_theme_active_func) ();
was_theming_active = is_theme_active_func
? (*is_theme_active_func) () : FALSE;
}
void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment