mirror of
git://git.sv.gnu.org/nano.git
synced 2025-01-08 02:32:00 +03:00
tweaks: normalize the indentation after the previous change
This commit is contained in:
parent
722467cb6b
commit
f9b1306adf
@ -298,6 +298,8 @@ void load_history(void)
|
||||
return;
|
||||
}
|
||||
|
||||
free(histname);
|
||||
|
||||
linestruct **history = &search_history;
|
||||
char *line = NULL;
|
||||
size_t buf_len = 0;
|
||||
@ -321,8 +323,6 @@ void load_history(void)
|
||||
|
||||
/* Reading in the lists has marked them as changed; undo this side effect. */
|
||||
history_changed = FALSE;
|
||||
|
||||
free(histname);
|
||||
}
|
||||
|
||||
/* Write the lines of a history list, starting at head, from oldest to newest,
|
||||
@ -479,6 +479,7 @@ void save_poshistory(void)
|
||||
|
||||
if (fwrite(path_and_place, sizeof(char), length, histfile) < length)
|
||||
jot_error(N_("Error writing %s: %s\n"), poshistname, strerror(errno));
|
||||
|
||||
free(path_and_place);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user