Changeset 153 for trunk/src/helpers/stringh.c
- Timestamp:
- Apr 14, 2002, 1:42:05 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/stringh.c
r152 r153 326 326 strupr(pszSrchFor); 327 327 328 prc = strstr(pszSrchIn, pszSrchFor); 329 if (prc) 328 if (prc = strstr(pszSrchIn, pszSrchFor)) 330 329 { 331 330 // prc now has the first occurence of the string, … … 371 370 372 371 return (ul); 372 } 373 374 /* 375 *@@ strhlen: 376 * like strlen, but doesn't crash on 377 * null strings, but returns 0 also. 378 * 379 *@@added V0.9.19 (2002-04-02) [umoeller] 380 */ 381 382 ULONG strhlen(PCSZ pcsz) 383 { 384 if (pcsz) 385 return (strlen(pcsz)); 386 387 return 0; 373 388 } 374 389
Note:
See TracChangeset
for help on using the changeset viewer.