Changeset 73 for trunk/src/comctl32/status.c
- Timestamp:
- Jun 9, 1999, 3:54:51 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/comctl32/status.c
r41 r73 369 369 result |= (part->style << 16); 370 370 if (lParam && LOWORD(result)) 371 // lstrcpyWtoA ((LPSTR)lParam, part->text); 372 strcpy((LPSTR)lParam, (char*)part->text); 371 lstrcpyWtoA((LPSTR)lParam, part->text); 373 372 } 374 373 return result; … … 660 659 if (text && (len = lstrlenA(text))) { 661 660 part->text = COMCTL32_Alloc ((len+1)*sizeof(WCHAR)); 662 // lstrcpyAtoW (part->text, text); 663 strcpy((char*)part->text, text); 661 lstrcpyAtoW (part->text, text); 664 662 } 665 663 } … … 841 839 if ((len = lstrlenA ((LPCSTR)lpCreate->lpszName))) { 842 840 self->parts[0].text = COMCTL32_Alloc ((len + 1)*sizeof(WCHAR)); 843 // lstrcpyAtoW (self->parts[0].text, (LPCSTR)lpCreate->lpszName); 844 strcpy((char*)self->parts[0].text, (LPCSTR)lpCreate->lpszName); 841 lstrcpyAtoW (self->parts[0].text, (LPCSTR)lpCreate->lpszName); 845 842 } 846 843 } … … 938 935 lstrcpyW ((LPWSTR)lParam, infoPtr->parts[0].text); 939 936 else 940 // lstrcpyWtoA ((LPSTR)lParam, infoPtr->parts[0].text); 941 strcpy((LPSTR)lParam, (char*)infoPtr->parts[0].text); 937 lstrcpyWtoA ((LPSTR)lParam, infoPtr->parts[0].text); 942 938 return len; 943 939 } … … 1055 1051 if (lParam && (len = lstrlenA((LPCSTR)lParam))) { 1056 1052 part->text = COMCTL32_Alloc ((len+1)*sizeof(WCHAR)); 1057 // lstrcpyAtoW (part->text, (LPCSTR)lParam); 1058 strcpy((char*)part->text, (LPCSTR)lParam); 1053 lstrcpyAtoW (part->text, (LPCSTR)lParam); 1059 1054 } 1060 1055 }
Note:
See TracChangeset
for help on using the changeset viewer.