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(
MultiByteToWideChar( CP_ACP, 0, readBuffer, bStringSize, this->description.lpstrName, len );
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);
this->gdiFont = 0;
this->dirty = TRUE;
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