- Timestamp:
- Dec 9, 1999, 11:59:37 AM (26 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32class.cpp
r2033 r2040 1 /* $Id: win32class.cpp,v 1. 7 1999-12-09 00:53:36sandervl Exp $ */1 /* $Id: win32class.cpp,v 1.8 1999-12-09 10:59:37 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Class Managment Code for OS/2 … … 280 280 { 281 281 if(HIWORD(classNameA)) { 282 strncpy(lpszClassName, classNameA, cchClassName-1);282 lstrncpyA(lpszClassName, classNameA, cchClassName-1); 283 283 return strlen(lpszClassName); 284 284 } -
trunk/src/user32/win32wbase.cpp
r2033 r2040 1 /* $Id: win32wbase.cpp,v 1.10 8 1999-12-09 00:53:37sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.109 1999-12-09 10:59:04 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 1539 1539 if (!lParam || !wParam) return 0; 1540 1540 if (!windowNameA) ((LPSTR)lParam)[0] = 0; 1541 else strncpy((LPSTR)lParam, windowNameA, wParam);1541 else lstrcpynA((LPSTR)lParam, windowNameA, wParam); 1542 1542 return min(wndNameLength, wParam); 1543 1543 -
trunk/src/user32/win32wmdiclient.cpp
r1513 r2040 1 /* $Id: win32wmdiclient.cpp,v 1.1 2 1999-10-30 09:19:46sandervl Exp $ */1 /* $Id: win32wmdiclient.cpp,v 1.13 1999-12-09 10:59:05 sandervl Exp $ */ 2 2 /* 3 3 * Win32 MDI Client Window Class for OS/2 … … 520 520 else 521 521 { 522 strncpy(lpBuffer, frameTitle, MDI_MAXTITLELENGTH );522 lstrcpynA(lpBuffer, frameTitle, MDI_MAXTITLELENGTH ); 523 523 lpBuffer[MDI_MAXTITLELENGTH]='\0'; 524 524 }
Note:
See TracChangeset
for help on using the changeset viewer.