added safety
This commit is contained in:
parent
3d279086dd
commit
995c756f11
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user