Changeset 5609 for trunk/src/gdi32/text.cpp
- Timestamp:
- Apr 27, 2001, 9:30:54 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/text.cpp
r5595 r5609 1 /* $Id: text.cpp,v 1.1 8 2001-04-26 17:01:08sandervl Exp $ */1 /* $Id: text.cpp,v 1.19 2001-04-27 19:30:54 sandervl Exp $ */ 2 2 3 3 /* … … 459 459 else { 460 460 astring = (char *)HEAP_malloc(cchText+1); 461 UnicodeToAscii ((LPWSTR)lpchText, astring);461 UnicodeToAsciiN((LPWSTR)lpchText, astring, cchText+1); 462 462 astring[cchText] = 0; 463 463 } … … 526 526 else { 527 527 astring = (char *)HEAP_malloc(nCount+1); 528 UnicodeToAscii ((LPWSTR)lpString, astring);528 UnicodeToAsciiN((LPWSTR)lpString, astring, nCount+1); 529 529 astring[nCount] = 0; 530 530 } … … 614 614 else { 615 615 astring = (char *)HEAP_malloc(nCount+1); 616 UnicodeToAscii ((LPWSTR)lpString, astring);616 UnicodeToAsciiN((LPWSTR)lpString, astring, nCount+1); 617 617 astring[nCount] = 0; 618 618 } … … 786 786 if(cbCount) { 787 787 astring = (char *)HEAP_malloc(cbCount+1); 788 UnicodeToAscii ((LPWSTR)lpszString, astring);788 UnicodeToAsciiN((LPWSTR)lpszString, astring, cbCount+1); 789 789 astring[cbCount] = 0; 790 790 }
Note:
See TracChangeset
for help on using the changeset viewer.