![]() ![]() | ![]() |
version 1.14, 1999/11/10 14:11:49 | version 1.15, 1999/11/11 11:35:17 | ||
---|---|---|---|
|
|
||
done = FALSE; | done = FALSE; | ||
origSize = Buf_Size(buf); | origSize = Buf_Size(buf); | ||
while (!done) { | while (!done) { | ||
cp = Str_FindSubstring(word, pattern->lhs); | cp = strstr(word, pattern->lhs); | ||
if (cp != (char *)NULL) { | if (cp != (char *)NULL) { | ||
if (addSpace && (((cp - word) + pattern->rightLen) != 0)){ | if (addSpace && (((cp - word) + pattern->rightLen) != 0)){ | ||
Buf_AddByte(buf, (Byte)' '); | Buf_AddByte(buf, (Byte)' '); |