prevent false reading after copying an empty file

This commit is contained in:
Holger Vogt 2018-05-19 15:37:03 +02:00
parent 1a39d3f59d
commit 74584c94ee
1 changed files with 1 additions and 1 deletions

View File

@ -1498,7 +1498,7 @@ create_circbyline(char *line)
if (linec < memlen) {
if (ciprefix(".end", line) && (line[4] == '\0' || isspace_c(line[4]))) {
circarray[linec] = NULL;
inp_spsource(fp, FALSE, "", TRUE);
inp_spsource(fp, FALSE, NULL, TRUE);
linec = 0;
}
}