Changeset 86 for trunk/src/helpers/xstring.c
- Timestamp:
- Jul 15, 2001, 10:57:25 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/xstring.c
r74 r86 705 705 * "cReplaceWithLen" characters from pcszReplaceWith. 706 706 * 707 * If cReplaceWithLen is 0, characters are removed only. 708 * 707 709 * Returns the new length of the string, excluding 708 710 * the null terminator, or 0 if the replacement failed … … 739 741 *@@changed V0.9.9 (2001-03-09) [umoeller]: now using xstrReserve 740 742 *@@changed V0.9.11 (2001-04-22) [umoeller]: replaced replacement XSTRING with PCSZ 743 *@@changed V0.9.14 (2001-07-07) [umoeller]: this did nothing if cReplaceWithLen == 0, fixed 741 744 */ 742 745 … … 753 756 if ( (pxstr) // V0.9.9 (2001-02-14) [umoeller] 754 757 && (ulFirstReplOfs + cReplLen <= pxstr->ulLength) 755 && (pcszReplaceWith) 758 && ( (pcszReplaceWith) 759 || (cReplaceWithLen == 0) // fixed V0.9.14 (2001-07-07) [umoeller] 760 ) 756 761 ) 757 762 {
Note:
See TracChangeset
for help on using the changeset viewer.