From 46f478ab95868360583471bceb33187db9a81d95 Mon Sep 17 00:00:00 2001 From: Kamil Hornicek Date: Wed, 5 Nov 2014 22:01:08 +0000 Subject: [PATCH] [WIN32K] - don't create a rect with a zero area in NtGdiExtFloodFill CORE-8755 svn path=/trunk/; revision=65273 --- reactos/win32ss/gdi/ntgdi/fillshap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/win32ss/gdi/ntgdi/fillshap.c b/reactos/win32ss/gdi/ntgdi/fillshap.c index 0d323c3bbc3..1c72756dc80 100644 --- a/reactos/win32ss/gdi/ntgdi/fillshap.c +++ b/reactos/win32ss/gdi/ntgdi/fillshap.c @@ -1132,7 +1132,7 @@ NtGdiExtFloodFill( goto cleanup; } else - RECTL_vSetRect(&DestRect, 0, psurf->SurfObj.sizlBitmap.cx, 0, psurf->SurfObj.sizlBitmap.cy); + RECTL_vSetRect(&DestRect, 0, 0, psurf->SurfObj.sizlBitmap.cx, psurf->SurfObj.sizlBitmap.cy); DC_vPrepareDCsForBlit(dc, &DestRect, NULL, NULL);