diff --git a/reactos/win32ss/gdi/ntgdi/dcutil.c b/reactos/win32ss/gdi/ntgdi/dcutil.c index e4a6f40bb19..695d7e29a78 100644 --- a/reactos/win32ss/gdi/ntgdi/dcutil.c +++ b/reactos/win32ss/gdi/ntgdi/dcutil.c @@ -236,8 +236,8 @@ GreSetStretchBltMode(HDC hDC, int iStretchMode) if ((iStretchMode <= 0) || (iStretchMode > MAXSTRETCHBLTMODE)) iStretchMode = WHITEONBLACK; pdcattr->jStretchBltMode = iStretchMode; + DC_UnlockDc(pdc); } - DC_UnlockDc(pdc); return oSMode; }