tweaks: rename a local variable, to not shadow another

This commit is contained in:
Benno Schulenberg 2019-10-16 11:11:19 +02:00
parent 7d3290fb91
commit 3b9a24a7ca

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();