Changeset 332 for branches/branch-1-0/src
- Timestamp:
- Sep 7, 2006, 1:59:59 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1-0/src/helpers/stringh.c
r329 r332 1147 1147 *@@changed V0.9.12 (2001-05-22) [umoeller]: fixed space bug, thanks Yuri Dario 1148 1148 *@@changed WarpIN V1.0.11 (2006-08-29) [pr]: handle attrib names in quoted strings @@fixes 718 1149 *@@changed WarpIN V1.0.12 (2006-09-07) [pr]: fix attrib handling again @@fixes 718 @@fixes 836 1149 1150 */ 1150 1151 … … 1161 1162 memcpy(pszSearchIn2, pszSearchIn, ulLength + 1); 1162 1163 1163 for (p = pszSearchIn2; *p == ' ' || *p == '\n' || *p == '\r' || *p == '\t'; p++); 1164 // V1.0.12 (2006-09-07) [pr]: filter leading " and ' left over from the previous pass 1165 for (p = pszSearchIn2; *p == '\'' || *p == '"' || *p == ' ' 1166 || *p == '\n' || *p == '\r' || *p == '\t'; p++); 1164 1167 for (pszStart = p; *p; p++) 1165 1168 { 1166 1169 if (fInQuote) 1167 1170 { 1168 if (*p == '"') 1171 // V1.0.12 (2006-09-07) [pr]: allow end of line to terminate a (broken) quote 1172 if (*p == '"' || *p == '\n' || *p == '\r') 1169 1173 fInQuote = FALSE; 1170 1174 }
Note:
See TracChangeset
for help on using the changeset viewer.