[WIN32SS][NTGDI] Unite duplicate of condition 'UsesSource'

This commit is contained in:
Katayama Hirofumi MZ 2019-10-22 09:33:32 +09:00
parent 1bf982ff88
commit 6fc6e3c398

View file

@ -470,17 +470,12 @@ NtGdiMaskBlt(
goto cleanup; goto cleanup;
if (UsesSource) if (UsesSource)
{
{ {
BitmapSrc = DCSrc->dclevel.pSurface; BitmapSrc = DCSrc->dclevel.pSurface;
if (!BitmapSrc) if (!BitmapSrc)
goto cleanup; goto cleanup;
}
}
/* Create the XLATEOBJ. */ /* Create the XLATEOBJ. */
if (UsesSource)
{
EXLATEOBJ_vInitXlateFromDCs(&exlo, DCSrc, DCDest); EXLATEOBJ_vInitXlateFromDCs(&exlo, DCSrc, DCDest);
XlateObj = &exlo.xlo; XlateObj = &exlo.xlo;
} }