gdi32: Fix copy-paste error (coverity)

André Hentschel nerv at dawncrow.de
Wed Oct 24 12:27:08 CDT 2012


CID 713002
---
 dlls/gdi32/enhmfdrv/graphics.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/gdi32/enhmfdrv/graphics.c b/dlls/gdi32/enhmfdrv/graphics.c
index 553801c..cf44e9c 100644
--- a/dlls/gdi32/enhmfdrv/graphics.c
+++ b/dlls/gdi32/enhmfdrv/graphics.c
@@ -172,7 +172,7 @@ EMFDRV_ArcChordPie( PHYSDEV dev, INT left, INT top, INT right, INT bottom,
         if(bounds.left > xCentre) bounds.left = xCentre;
 	else if(bounds.right < xCentre) bounds.right = xCentre;
 	if(bounds.top > yCentre) bounds.top = yCentre;
-	else if(bounds.bottom < yCentre) bounds.right = yCentre;
+	else if(bounds.bottom < yCentre) bounds.bottom = yCentre;
     }
     if(!EMFDRV_WriteRecord( dev, &emr.emr ))
         return FALSE;
-- 
1.8.0



-- 

Best Regards, André Hentschel


More information about the wine-patches mailing list