From 0e0fef03c562bc50db878a8de0a669a7d2041b8a Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Thu, 26 May 2005 18:05:22 +0000
Subject: [PATCH] typo fix

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

diff --git a/src/winio.c b/src/winio.c
index 32fdb34f..abde66d9 100644
--- a/src/winio.c
+++ b/src/winio.c
@@ -2455,7 +2455,7 @@ int nanogetstr(bool allow_tabs, const char *buf, const char *curranswer,
 #endif
 
     answer = mallocstrcpy(answer, curranswer);
-    curranswer = strlen(answer);
+    curranswer_len = strlen(answer);
 
     /* Only put statusbar_x at the end of the string if it's
      * uninitialized, if it would be past the end of curranswer, or if
-- 
GitLab