fix a gdi leak bug.

This commit is contained in:
Zhang Zhaolong 2013-11-24 16:01:11 +08:00
parent fcea789a77
commit 6a11e6226b

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)