Changeset 147 for trunk/src/helpers/xstring.c
- Timestamp:
- Mar 16, 2002, 8:53:47 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/xstring.c
r144 r147 1064 1064 do // while p 1065 1065 { 1066 p = (PSZ)strhmemfind(p, // in: haystack 1067 pxstr->ulLength - (p - pxstr->psz), 1068 // remaining length of haystack 1069 pstrFind->psz, 1070 ulFoundLen, 1071 pShiftTable, 1072 pfRepeatFind); 1073 if (p) 1066 if (p = (PSZ)strhmemfind(p, // in: haystack 1067 pxstr->ulLength - (p - pxstr->psz), 1068 // remaining length of haystack 1069 pstrFind->psz, 1070 ulFoundLen, 1071 pShiftTable, 1072 pfRepeatFind)) 1074 1073 { 1075 1074 // string found: … … 1187 1186 // yes: 1188 1187 ULONG ulOfs = *pulOfs; 1189 PCSZ pFound 1190 = (PCSZ)strhmemfind(pxstr->psz + ulOfs, // in: haystack 1191 pxstr->ulLength - ulOfs, 1192 pstrSearch->psz, 1193 cSearchLen, 1194 pShiftTable, 1195 pfRepeatFind); 1196 if (pFound) 1188 PCSZ pFound; 1189 if (pFound = (PCSZ)strhmemfind(pxstr->psz + ulOfs, // in: haystack 1190 pxstr->ulLength - ulOfs, 1191 pstrSearch->psz, 1192 cSearchLen, 1193 pShiftTable, 1194 pfRepeatFind)) 1197 1195 { 1198 1196 ULONG ulFirstReplOfs = pFound - pxstr->psz;
Note:
See TracChangeset
for help on using the changeset viewer.