mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[RICHED20] select_style(): Check font_cache too
Already upstreamed as wine-6.21-347-g177f808. CORE-17843
This commit is contained in:
parent
d84022d7fd
commit
de33036766
1 changed files with 1 additions and 1 deletions
|
@ -429,7 +429,7 @@ void select_style( ME_Context *c, ME_Style *s )
|
|||
c->orig_font = NULL;
|
||||
}
|
||||
|
||||
if (c->current_style)
|
||||
if (c->current_style && c->current_style->font_cache)
|
||||
{
|
||||
release_font_cache( c->current_style->font_cache );
|
||||
c->current_style->font_cache = NULL;
|
||||
|
|
Loading…
Reference in a new issue