From: David Lawrence Ramsey Date: Thu, 26 May 2005 18:05:22 +0000 (+0000) Subject: typo fix X-Git-Tag: v1.3.8~251 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=0e0fef03c562bc50db878a8de0a669a7d2041b8a;p=nano.git typo fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2552 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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