diff --git a/src/nano.c b/src/nano.c index ecc53e81..d21df01c 100644 --- a/src/nano.c +++ b/src/nano.c @@ -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; }