mirror of
https://github.com/reactos/reactos.git
synced 2024-11-27 05:23:33 +08: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
@ -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 New Issue
Block a user