Ignore:
Timestamp:
Nov 14, 2001, 1:30:46 PM (24 years ago)
Author:
phaller
Message:

replaced heap alloc by stack alloc

File:
1 edited

Legend:

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

    r6709 r7334  
    441441DrawStatusTextW (HDC hdc, LPRECT lprc, LPCWSTR text, UINT style)
    442442{
     443#ifdef __WIN32OS2__
     444    LPSTR p;
     445    STACK_strdupWtoA(text, p)
     446#else
    443447    LPSTR p = HEAP_strdupWtoA (GetProcessHeap (), 0, text);
     448#endif
    444449    DrawStatusTextA (hdc, lprc, p, style);
     450#ifndef __WIN32OS2__
    445451    HeapFree (GetProcessHeap (), 0, p );
     452#endif
    446453}
    447454
Note: See TracChangeset for help on using the changeset viewer.