From 9d6a10a43aa10e21c53123935d6bd12c654546a2 Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Mon, 10 May 2010 15:01:03 +0100 Subject: [PATCH] oleaut32: Set the font to dirty when loading a new data. --- dlls/oleaut32/olefont.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/oleaut32/olefont.c b/dlls/oleaut32/olefont.c index df7de87bfc2..3c8c91f9f66 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; } -- 2.11.4.GIT