Ignore:
Timestamp:
May 24, 2001, 9:26:31 PM (24 years ago)
Author:
sandervl
Message:

GetTextExtentPointA fix; call WGSS

File:
1 edited

Legend:

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

    r5755 r5795  
    1 /* $Id: text.cpp,v 1.20 2001-05-19 13:50:19 sandervl Exp $ */
     1/* $Id: text.cpp,v 1.21 2001-05-24 19:26:31 sandervl Exp $ */
    22
    33/*
     
    870870                                  LPSIZE lpsSize)
    871871{
     872#if 1
     873   //SvL: This works better than the code below. Can been seen clearly
     874   //     in the Settings dialog box of VirtualPC. Strings are clipped.
     875   //     (e.g.: Hard Disk 1 -> Hard Disk)
     876   return O32_GetTextExtentPoint(hdc, lpsz, cbString, lpsSize);
     877#else
    872878   BOOL       rc;
    873879   POINTLOS2  pts[TXTBOXOS_COUNT];
     
    940946   SetLastError(ERROR_SUCCESS);
    941947   return TRUE;
     948#endif
    942949}
    943950//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.