Module: wine Branch: master Commit: 9d6a10a43aa10e21c53123935d6bd12c654546a2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9d6a10a43aa10e21c53123935d...
Author: Huw Davies huw@codeweavers.com Date: Mon May 10 15:01:03 2010 +0100
oleaut32: Set the font to dirty when loading a new data.
---
dlls/oleaut32/olefont.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/oleaut32/olefont.c b/dlls/oleaut32/olefont.c index df7de87..3c8c91f 100644 --- a/dlls/oleaut32/olefont.c +++ b/dlls/oleaut32/olefont.c @@ -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; }