From: David Lawrence Ramsey Date: Mon, 20 Dec 2004 01:18:49 +0000 (+0000) Subject: revert erroneous change X-Git-Tag: v1.3.6~213 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f3bea022d62a36a36e27023bf141aa71b4b94c1f;p=nano.git revert erroneous change git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2189 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/nano.c b/src/nano.c index 7c8ea9b7..46a1a10b 100644 --- a/src/nano.c +++ b/src/nano.c @@ -2015,7 +2015,7 @@ const char *do_alt_speller(char *tempfile_name) WEXITSTATUS(alt_spell_status) != 0) { char *altspell_error = NULL; char *invoke_error = _("Could not invoke \"%s\""); - int msglen = strlenpt(invoke_error) + strlenpt(alt_speller) + 2; + int msglen = strlen(invoke_error) + strlen(alt_speller) + 2; altspell_error = charalloc(msglen); snprintf(altspell_error, msglen, invoke_error, alt_speller);