cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2742 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
родитель
bd11c0171b
Коммит
6c25819c34
@ -2373,15 +2373,14 @@ const char *do_alt_speller(char *tempfile_name)
|
|||||||
char *invoke_error = _("Could not invoke \"%s\"");
|
char *invoke_error = _("Could not invoke \"%s\"");
|
||||||
int msglen = strlen(invoke_error) + strlen(alt_speller) + 2;
|
int msglen = strlen(invoke_error) + strlen(alt_speller) + 2;
|
||||||
|
|
||||||
altspell_error = charalloc(msglen);
|
|
||||||
snprintf(altspell_error, msglen, invoke_error, alt_speller);
|
|
||||||
|
|
||||||
#ifndef NANO_SMALL
|
#ifndef NANO_SMALL
|
||||||
/* Turn the mark back on if it was on before. */
|
/* Turn the mark back on if it was on before. */
|
||||||
if (old_mark_set)
|
if (old_mark_set)
|
||||||
SET(MARK_ISSET);
|
SET(MARK_ISSET);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
altspell_error = charalloc(msglen);
|
||||||
|
snprintf(altspell_error, msglen, invoke_error, alt_speller);
|
||||||
return altspell_error;
|
return altspell_error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user