In VarHead(), look into the correct (modified) string.

This commit is contained in:
Juli Mallett 2002-10-29 12:11:56 +00:00
parent 4d56bc2300
commit f67b533a2e

View File

@ -78,7 +78,7 @@ VarHead (const char *word, Boolean addSpace, Buffer buf, void *dummy __unused)
Buf_AddByte (buf, (Byte)' ');
}
*slash = '\0';
Buf_AddBytes (buf, strlen (word), (Byte *)word);
Buf_AddBytes (buf, strlen (buffer), (Byte *)buffer);
free(buffer);
return (TRUE);
} else {