Commit 9d6a10a4 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

oleaut32: Set the font to dirty when loading a new data.

parent f76a3b96
...@@ -1836,9 +1836,10 @@ static HRESULT WINAPI OLEFontImpl_Load( ...@@ -1836,9 +1836,10 @@ static HRESULT WINAPI OLEFontImpl_Load(
MultiByteToWideChar( CP_ACP, 0, readBuffer, bStringSize, this->description.lpstrName, len ); MultiByteToWideChar( CP_ACP, 0, readBuffer, bStringSize, this->description.lpstrName, len );
this->description.lpstrName[len] = 0; this->description.lpstrName[len] = 0;
/* Ensure use of this font causes a new one to be created @@@@ */ /* Ensure use of this font causes a new one to be created */
dec_int_ref(this->gdiFont); dec_int_ref(this->gdiFont);
this->gdiFont = 0; this->gdiFont = 0;
this->dirty = TRUE;
return S_OK; return S_OK;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment