added safety
This commit is contained in:
parent
3d279086dd
commit
995c756f11
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue