mirror of git://git.sv.gnu.org/nano.git
reword an error message for consistency
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2825 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
1228699f2c
commit
757f739367
|
@ -16,8 +16,10 @@ CVS code -
|
|||
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)
|
||||
|
|
|
@ -2399,7 +2399,7 @@ const char *do_alt_speller(char *tempfile_name)
|
|||
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. */
|
||||
|
|
Loading…
Reference in New Issue