From 6fc6e3c398cae885eefd5d6445d3c2532b7e13d6 Mon Sep 17 00:00:00 2001 From: Katayama Hirofumi MZ Date: Tue, 22 Oct 2019 09:33:32 +0900 Subject: [PATCH] [WIN32SS][NTGDI] Unite duplicate of condition 'UsesSource' --- win32ss/gdi/ntgdi/bitblt.c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/win32ss/gdi/ntgdi/bitblt.c b/win32ss/gdi/ntgdi/bitblt.c index 8e9fac9286c..b60ef9047f8 100644 --- a/win32ss/gdi/ntgdi/bitblt.c +++ b/win32ss/gdi/ntgdi/bitblt.c @@ -471,16 +471,11 @@ NtGdiMaskBlt( if (UsesSource) { - { - BitmapSrc = DCSrc->dclevel.pSurface; - if (!BitmapSrc) - goto cleanup; - } - } + BitmapSrc = DCSrc->dclevel.pSurface; + if (!BitmapSrc) + goto cleanup; - /* Create the XLATEOBJ. */ - if (UsesSource) - { + /* Create the XLATEOBJ. */ EXLATEOBJ_vInitXlateFromDCs(&exlo, DCSrc, DCDest); XlateObj = &exlo.xlo; }