Commit c3e9de0b authored by Andrew Nguyen's avatar Andrew Nguyen Committed by Alexandre Julliard

gdi32: Fix a typo in ScaleViewportExtEx.

Spotted by Gregor Schneider.
parent d6055a41
......@@ -424,7 +424,7 @@ BOOL WINAPI ScaleViewportExtEx( HDC hdc, INT xNum, INT xDenom,
}
if ((dc->MapMode != MM_ISOTROPIC) && (dc->MapMode != MM_ANISOTROPIC))
goto done;
if (!xNum || !xDenom || !xNum || !yDenom)
if (!xNum || !xDenom || !yNum || !yDenom)
{
ret = FALSE;
goto done;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment