tweaks: rename a local variable, to not shadow another

master
Benno Schulenberg 2019-10-16 11:11:19 +02:00
parent 7d3290fb91
commit 3b9a24a7ca
1 changed files with 5 additions and 5 deletions

View File

@ -1930,12 +1930,12 @@ bool write_file(const char *name, FILE *f_open, bool tmp,
/* If the syntax changed, discard and recompute the multidata. */
if (strcmp(oldname, newname) != 0) {
linestruct *line = openfile->filetop;
linestruct *lin = openfile->filetop;
while (line != NULL) {
free(line->multidata);
line->multidata = NULL;
line = line->next;
while (lin != NULL) {
free(lin->multidata);
lin->multidata = NULL;
lin = lin->next;
}
precalc_multicolorinfo();