Commit 95e39e5f authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

add missing error message simplifications from before

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1892 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 1e7f1ea1
Showing with 2 additions and 2 deletions
+2 -2
......@@ -3013,7 +3013,7 @@ void save_history(void)
h->data = charealloc(h->data, strlen(h->data) + 2);
strcat(h->data, "\n");
if (fputs(h->data, hist) == EOF) {
rcfile_error(N_("Unable to write ~/.nano_history file: %s\n"), strerror(errno));
rcfile_error(N_("Error writing %s: %s"), nanohist, strerror(errno));
goto come_from;
}
}
......
......@@ -1837,7 +1837,7 @@ void do_spell(void)
i = write_file(temp, TRUE, FALSE, FALSE);
if (i == -1) {
statusbar(_("Unable to write temp file: %s"), strerror(errno));
statusbar(_("Error writing temp file: %s"), strerror(errno));
free(temp);
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment