Merge pull request #1615 from zhangzl2013/bug-gdi-leak

fix a gdi leak bug.
This commit is contained in:
Martin Fleisz 2013-11-25 00:30:50 -08:00
commit 75b919a915

View File

@ -466,7 +466,6 @@ void wf_gdi_multi_opaque_rect(wfContext* wfc, MULTI_OPAQUE_RECT_ORDER* multi_opa
rect.bottom = rectangle->top + rectangle->height;
brush = CreateSolidBrush(brush_color);
brush = CreateSolidBrush(brush_color);
FillRect(wfc->drawing->hdc, &rect, brush);
if (wfc->drawing == wfc->primary)