From cf95218f08e81fd093c16b00f87933fb8f986a83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Wed, 24 Oct 2012 19:27:08 +0200 Subject: [PATCH] gdi32: Fix copy-paste error (coverity). --- 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 553801c0215..cf44e9c5e41 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;