Changeset 3804 for trunk/src/kernel32/heapstring.cpp
- Timestamp:
- Jul 6, 2000, 11:18:45 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/heapstring.cpp
r3730 r3804 1 /* $Id: heapstring.cpp,v 1.2 8 2000-06-18 12:55:17 phallerExp $ */1 /* $Id: heapstring.cpp,v 1.29 2000-07-06 21:18:42 sandervl Exp $ */ 2 2 3 3 /* … … 1427 1427 else 1428 1428 { 1429 strncpy (lpNumberStr, sDestination, cchNumber -1);1430 *(lpNumberStr+cchNumber-1)= '\0'; /* ensure we got a NULL at the end */1429 strncpy (lpNumberStr, sDestination, cchNumber); 1430 lpNumberStr[cchNumber-1] = '\0'; /* ensure we got a NULL at the end */ 1431 1431 retVal = strlen(lpNumberStr); 1432 1432 }
Note:
See TracChangeset
for help on using the changeset viewer.