Module: wine Branch: master Commit: cf95218f08e81fd093c16b00f87933fb8f986a83 URL: http://source.winehq.org/git/wine.git/?a=commit;h=cf95218f08e81fd093c16b00f8...
Author: André Hentschel nerv@dawncrow.de Date: Wed Oct 24 19:27:08 2012 +0200
gdi32: Fix copy-paste error (coverity).
---
dlls/gdi32/enhmfdrv/graphics.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
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;