snprintf() to write the error string we return, as the one
formatted value is a simple string, and so altspell_error will
always be long enough to hold it. Also remove unnecessary
- initialization of altspell_error, and refactor so that msglen
- is no longer needed. (DLR)
+ initialization of altspell_error, refactor so that msglen is
+ no longer needed, and make the error message more similar to
+ what the internal spell checker returns under the same
+ circumstances. (DLR)
allow_pending_sigwinch()
- Simplify by using the "?" operator instead of an if clause.
(DLR)
if (!WIFEXITED(alt_spell_status) ||
WEXITSTATUS(alt_spell_status) != 0) {
char *altspell_error;
- char *invoke_error = _("Could not invoke \"%s\"");
+ char *invoke_error = _("Error invoking \"%s\"");
#ifndef NANO_SMALL
/* Turn the mark back on if it was on before. */