From 6c25819c34b37f140e55ff9569c4db157e464331 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Tue, 21 Jun 2005 01:41:46 +0000 Subject: [PATCH] cosmetic fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2742 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/nano.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/nano.c b/src/nano.c index 594929c0..0e304587 100644 --- a/src/nano.c +++ b/src/nano.c @@ -2373,15 +2373,14 @@ const char *do_alt_speller(char *tempfile_name) char *invoke_error = _("Could not invoke \"%s\""); int msglen = strlen(invoke_error) + strlen(alt_speller) + 2; - altspell_error = charalloc(msglen); - snprintf(altspell_error, msglen, invoke_error, alt_speller); - #ifndef NANO_SMALL /* Turn the mark back on if it was on before. */ if (old_mark_set) SET(MARK_ISSET); #endif + altspell_error = charalloc(msglen); + snprintf(altspell_error, msglen, invoke_error, alt_speller); return altspell_error; } -- 2.39.5