mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
fix a DC handle leak
svn path=/trunk/; revision=32106
This commit is contained in:
parent
77a3a581b7
commit
005a190594
1 changed files with 1 additions and 1 deletions
|
@ -1711,7 +1711,7 @@ UserDrawIconEx(
|
|||
Ret = TRUE;
|
||||
|
||||
cleanup:
|
||||
if(DoFlickerFree)
|
||||
if(DoFlickerFree || bAlpha)
|
||||
{
|
||||
if(hOldOffBmp) NtGdiSelectBitmap(hdcOff, hOldOffBmp);
|
||||
if(hOldOffBrush) NtGdiSelectBrush(hdcOff, hOldOffBrush);
|
||||
|
|
Loading…
Reference in a new issue