mirror of
https://github.com/reactos/reactos.git
synced 2024-06-29 01:12:06 +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
|
@ -429,7 +429,7 @@ void select_style( ME_Context *c, ME_Style *s )
|
||||||
c->orig_font = NULL;
|
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 );
|
release_font_cache( c->current_style->font_cache );
|
||||||
c->current_style->font_cache = NULL;
|
c->current_style->font_cache = NULL;
|
||||||
|
|
Loading…
Reference in a new issue