formatting fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2829 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2005-07-08 02:36:16 +00:00
parent d41b468975
commit 826ab5a4fe
1 changed files with 1 additions and 2 deletions

View File

@ -2408,8 +2408,7 @@ 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;