Changeset 24006 in vbox for trunk/src/VBox/Runtime/common
- Timestamp:
- Oct 23, 2009 8:02:13 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/string/strstrip.cpp
r21337 r24006 49 49 { 50 50 /* left */ 51 while ( isspace(*psz))51 while (RT_C_IS_SPACE(*psz)) 52 52 psz++; 53 53 54 54 /* right */ 55 55 char *pszEnd = strchr(psz, '\0'); 56 while (--pszEnd > psz && isspace(*pszEnd))56 while (--pszEnd > psz && RT_C_IS_SPACE(*pszEnd)) 57 57 *pszEnd = '\0'; 58 58 … … 71 71 { 72 72 /* left */ 73 while ( isspace(*psz))73 while (RT_C_IS_SPACE(*psz)) 74 74 psz++; 75 75 … … 89 89 /* right */ 90 90 char *pszEnd = strchr(psz, '\0'); 91 while (--pszEnd > psz && isspace(*pszEnd))91 while (--pszEnd > psz && RT_C_IS_SPACE(*pszEnd)) 92 92 *pszEnd = '\0'; 93 93
Note:
See TracChangeset
for help on using the changeset viewer.