Changeset 10563 for trunk/src


Ignore:
Timestamp:
Mar 25, 2004, 4:06:37 PM (21 years ago)
Author:
sandervl
Message:

bugfix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gdi32/line.cpp

    r10561 r10563  
    1 /* $Id: line.cpp,v 1.15 2004-03-25 14:52:32 sandervl Exp $ */
     1/* $Id: line.cpp,v 1.16 2004-03-25 15:06:37 sandervl Exp $ */
    22/*
    33 * Line API's
     
    3636
    3737      // LineTo will return an error if the coordinates are outside the DC
    38       pt->x = (nXEnd >= vertRes) ? vertRes-1 : nXEnd;
    39       pt->y = (nYEnd >= horzRes) ? horzRes-1 : nYEnd;
     38      pt->x = (nXEnd >= horzRes) ? horzRes-1 : nXEnd;
     39      pt->y = (nYEnd >= vertRes) ? vertRes-1 : nYEnd;
    4040  }
    4141  else
Note: See TracChangeset for help on using the changeset viewer.