Increased size of MAXMSG to 255 (#189)

This commit is contained in:
Lew Rossman
2018-10-15 11:34:25 -04:00
parent 1c3044c948
commit 1fce14efb8
4 changed files with 10 additions and 9 deletions

View File

@@ -292,7 +292,7 @@ int newline(EN_Project *pr, int sect, char *line)
n = (int)strlen(line);
if (line[n - 1] == 10)
line[n - 1] = ' ';
strncpy(pr->Title[par->Ntitle], line, MAXMSG);
strncpy(pr->Title[par->Ntitle], line, TITLELEN);
par->Ntitle++;
}
return (0);