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