]> git.wh0rd.org Git - nano.git/commitdiff
typo fix
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Tue, 5 Jul 2005 00:54:40 +0000 (00:54 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Tue, 5 Jul 2005 00:54:40 +0000 (00:54 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2816 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/nano.c

index ecc53e81f6fe5ced8b47fc7021003601d502472f..d21df01cffac0926c884215f0d7e3f8bfda72cdc 100644 (file)
@@ -2409,7 +2409,7 @@ const char *do_alt_speller(char *tempfile_name)
 
        altspell_error =
                charalloc(strlen(invoke_error) +
-               strlen(alt_speller) + 2);
+               strlen(alt_speller) + 1);
        sprintf(altspell_error, invoke_error, alt_speller);
        return altspell_error;
     }