]> git.wh0rd.org Git - nano.git/commitdiff
typo fix
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 26 May 2005 18:05:22 +0000 (18:05 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 26 May 2005 18:05:22 +0000 (18:05 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2552 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/winio.c

index 32fdb34fc5ed7db02eb47bae04fba9ebd9b50e97..abde66d93a29974238575603ea1d74f8977d70d1 100644 (file)
@@ -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