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

This commit is contained in:
Huw Davies 2010-05-10 15:01:03 +01:00 committed by Alexandre Julliard
parent f76a3b965c
commit 9d6a10a43a
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}