Ignore:
Timestamp:
Oct 22, 1999, 8:04:13 PM (26 years ago)
Author:
sandervl
Message:

Fixes + native win32 resources

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/comctl32/tab.c

    r1058 r1402  
    1 /* $Id: tab.c,v 1.13 1999-09-26 11:01:11 achimha Exp $ */
     1/* $Id: tab.c,v 1.14 1999-10-22 18:04:12 sandervl Exp $ */
    22/*
    33 * Tab control
     
    733733       * Calculate how wide the tab is depending on the text it contains
    734734       */
    735       GetTextExtentPoint32A(hdc, infoPtr->items[curItem].pszText,
    736                             lstrlenA(infoPtr->items[curItem].pszText), &size);
     735      //SvL: Bugfix: text is unicode, not ascii
     736      GetTextExtentPoint32W(hdc, infoPtr->items[curItem].pszText,
     737                            lstrlenW(infoPtr->items[curItem].pszText), &size);
    737738
    738739      /*
Note: See TracChangeset for help on using the changeset viewer.