https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6fc6e3c398cae885eefd5d...
commit 6fc6e3c398cae885eefd5d6445d3c2532b7e13d6 Author: Katayama Hirofumi MZ katayama.hirofumi.mz@gmail.com AuthorDate: Tue Oct 22 09:33:32 2019 +0900 Commit: Katayama Hirofumi MZ katayama.hirofumi.mz@gmail.com CommitDate: Tue Oct 22 09:33:32 2019 +0900
[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; }