From f3bea022d62a36a36e27023bf141aa71b4b94c1f Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Mon, 20 Dec 2004 01:18:49 +0000
Subject: [PATCH] revert erroneous change

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2189 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 src/nano.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
-- 
GitLab