[Bug 1717] New: Bug in enhmetafile.c

Wine Bugs wine-bugs at winehq.com
Tue Sep 16 16:50:10 CDT 2003


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 at winehq.com
        ReportedBy: rspilon at 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

-- 
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list