http://bugs.winehq.com/show_bug.cgi?id=1717
Summary: Bug in enhmetafile.c Product: Wine Version: unspecified Platform: All OS/Version: other Status: UNCONFIRMED Severity: critical Priority: P1 Component: wine-gdi AssignedTo: wine-bugs@winehq.com ReportedBy: rspilon@rogers.com
There is an error in enhmetafile.c - the code:
case EMR_SCALEVIEWPORTEXTEX: { PEMRSCALEVIEWPORTEXTEX lpScaleViewportExtEx = (PEMRSCALEVIEWPORTEXTEX) mr;
if ((info->mode != MM_ISOTROPIC) && (info->mode != MM_ANISOTROPIC)) break; if (!lpScaleViewportExtEx->xNum || !lpScaleViewportExtEx->xDenom || !lpScaleViewportExtEx->xNum || !lpScaleViewportExtEx->yDenom) break;
Notice - the line just before the break above - it should be:
!lpScaleViewportExtEx->yNum ( and not xNum )
Rene Pilon