Changeset 73 for trunk/src/comctl32/rebar.c
- Timestamp:
- Jun 9, 1999, 3:54:51 PM (26 years ago)
- File:
-
- 1 edited
-
trunk/src/comctl32/rebar.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/comctl32/rebar.c
r60 r73 26 26 #include "commctrl.h" 27 27 #include "rebar.h" 28 #include "comctl32.h" 28 29 29 30 … … 637 638 if ((lprbbi->fMask & RBBIM_TEXT) && 638 639 (lprbbi->lpText) && (lpBand->lpText)) { 639 // lstrcpynWtoA (lprbbi->lpText, lpBand->lpText, lprbbi->cch); 640 strncpy(lprbbi->lpText, lpBand->lpText, lprbbi->cch); 640 lstrcpynWtoA (lprbbi->lpText, lpBand->lpText, lprbbi->cch); 641 641 } 642 642 … … 1001 1001 if (len > 0) { 1002 1002 lpBand->lpText = (LPWSTR)COMCTL32_Alloc ((len + 1)*sizeof(WCHAR)); 1003 // lstrcpyAtoW (lpBand->lpText, lprbbi->lpText); 1004 strcpy(lpBand->lpText, lprbbi->lpText); 1003 lstrcpyAtoW (lpBand->lpText, lprbbi->lpText); 1005 1004 } 1006 1005 } … … 1267 1266 INT len = lstrlenA (lprbbi->lpText); 1268 1267 lpBand->lpText = (LPWSTR)COMCTL32_Alloc ((len + 1)*sizeof(WCHAR)); 1269 // lstrcpyAtoW (lpBand->lpText, lprbbi->lpText); 1270 strcpy(lpBand->lpText, lprbbi->lpText); 1268 lstrcpyAtoW (lpBand->lpText, lprbbi->lpText); 1271 1269 } 1272 1270 }
Note:
See TracChangeset
for help on using the changeset viewer.
