mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
fix a DC handle leak
svn path=/trunk/; revision=32106
This commit is contained in:
@@ -1711,7 +1711,7 @@ UserDrawIconEx(
|
||||
Ret = TRUE;
|
||||
|
||||
cleanup:
|
||||
if(DoFlickerFree)
|
||||
if(DoFlickerFree || bAlpha)
|
||||
{
|
||||
if(hOldOffBmp) NtGdiSelectBitmap(hdcOff, hOldOffBmp);
|
||||
if(hOldOffBrush) NtGdiSelectBrush(hdcOff, hOldOffBrush);
|
||||
|
||||
Reference in New Issue
Block a user