Ignore:
Timestamp:
May 5, 2004, 11:19:11 AM (21 years ago)
Author:
sandervl
Message:

updates

File:
1 edited

Legend:

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

    r10594 r10597  
    1 /* $Id: line.cpp,v 1.17 2004-04-30 13:27:18 sandervl Exp $ */
     1/* $Id: line.cpp,v 1.18 2004-05-05 09:19:10 sandervl Exp $ */
    22/*
    33 * Line API's
     
    168168    toWin32LineEnd(pHps, &oldPoint,nXEnd,nYEnd,&newPoint);
    169169
    170     if ((oldPoint.x == newPoint.x) && (oldPoint.y == newPoint.y))
     170    if (!pHps->inPath && (oldPoint.x == newPoint.x) && (oldPoint.y == newPoint.y))
    171171    {
    172172      rc = drawSingleLinePoint(hdc,pHps,&newPoint);
    173     } else
    174     {
    175       if (getIsWideLine(pHps))
     173    }
     174    else
     175    {
     176      if (!pHps->inPath && getIsWideLine(pHps))
    176177      {
    177178        rc = O32_LineTo(hdc,newPoint.x,newPoint.y); //CB: wide line not supported
    178       } else
     179      }
     180      else
    179181      {
    180182        if (OSLibGpiLine(pHps,&newPoint) == FALSE)
Note: See TracChangeset for help on using the changeset viewer.