[Bug 1718] New: Bug in enhmetafile.c

Wine Bugs wine-bugs at winehq.com
Tue Sep 16 17:16:11 CDT 2003


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

-- 
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