In VarHead(), look into the correct (modified) string.
This commit is contained in:
parent
4d56bc2300
commit
f67b533a2e
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user