From: David Lawrence Ramsey Date: Fri, 8 Jul 2005 03:15:09 +0000 (+0000) Subject: another formatting fix X-Git-Tag: v1.3.9~214 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f8cb832b5028b3f23c1e69f4d1b08c472bb4d34e;p=nano.git another formatting fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2832 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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;