From f8cb832b5028b3f23c1e69f4d1b08c472bb4d34e Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Fri, 8 Jul 2005 03:15:09 +0000 Subject: [PATCH] another formatting fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2832 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/nano.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/nano.c b/src/nano.c index 11151417..a6a2fb98 100644 --- a/src/nano.c +++ b/src/nano.c @@ -2408,7 +2408,8 @@ const char *do_alt_speller(char *tempfile_name) SET(MARK_ISSET); #endif - altspell_error = charalloc(strlen(invoke_error) + + altspell_error = + charalloc(strlen(invoke_error) + strlen(alt_speller) + 1); sprintf(altspell_error, invoke_error, alt_speller); return altspell_error; -- 2.39.5