Changeset 21356 for trunk/src/user32/text.c
- Timestamp:
- Feb 21, 2010, 5:33:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/text.c
r8754 r21356 470 470 ret = DrawTextExW( hdc, wstr, wcount, rect, flags, NULL ); 471 471 if (flags & DT_MODIFYSTRING) 472 WideCharToMultiByte( CP_ACP, 0, wstr, -1, str, count, NULL, NULL );472 WideCharToMultiByte( CP_ACP, 0, wstr, -1, (LPSTR)str, count, NULL, NULL ); 473 473 HeapFree(GetProcessHeap(), 0, wstr); 474 474 } … … 530 530 slen = strlen((LPCSTR)lp); 531 531 else 532 slen = strlen(MapSL( lp));532 slen = strlen(MapSL((LPCSTR)lp)); 533 533 } 534 534 … … 541 541 GetTextExtentPoint32A(hdc, (LPCSTR)lp, slen, &s); 542 542 else 543 GetTextExtentPoint32A(hdc, MapSL( lp), slen, &s);543 GetTextExtentPoint32A(hdc, MapSL((LPCSTR)lp), slen, &s); 544 544 if(cx == 0) cx = s.cx; 545 545 if(cy == 0) cy = s.cy; … … 569 569 TextOutA(memdc, 0, 0, (LPCSTR)lp, slen); 570 570 else 571 TextOutA(memdc, 0, 0, MapSL( lp), slen);571 TextOutA(memdc, 0, 0, MapSL((LPCSTR)lp), slen); 572 572 } 573 573
Note:
See TracChangeset
for help on using the changeset viewer.