Patch by Sebastiaan Roodenburg. Fixes problem in NtGdiStrechBlt.

svn path=/trunk/; revision=20946
This commit is contained in:
James Tabor 2006-01-19 03:25:51 +00:00
parent ff0bdc14d4
commit 74bf31b2b2

View file

@ -1274,18 +1274,20 @@ NtUserPaintDesktop(HDC hDC)
if (WinSta->WallpaperMode == wmStretch)
{
NtGdiStretchBlt(hDC,
x,
y,
Rect.right,
Rect.bottom,
hWallpaperDC,
0,
0,
if(Rect.right && Rect.bottom)
NtGdiStretchBlt(hDC,
x,
y,
sz.cx,
sz.cy,
hWallpaperDC,
0,
0,
WinSta->cxWallpaper,
WinSta->cyWallpaper,
SRCCOPY,
0);
}
else if (WinSta->WallpaperMode == wmTile)
{