Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/d_deh.c
Original file line number Diff line number Diff line change
Expand Up @@ -4071,7 +4071,7 @@ static void deh_procStrings(DEHFILE *fpin, const char *line)
while (strlen(holdstring) + len > (unsigned int)maxstrlen)
{
// killough 11/98: allocate enough the first time
maxstrlen = (int)strlen(holdstring) + len;
maxstrlen = (int)strlen(holdstring) + len + 1;

if (devparm)
C_Output("* increased buffer from to %i for buffer size %i", maxstrlen, len);
Expand Down
Loading