From e2ce2792a381bb5caa7edcd53888ae0858fe8d36 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Thu, 26 May 2005 05:33:57 +0000 Subject: [PATCH] remove redundancy git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2546 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/winio.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/winio.c b/src/winio.c index 221b1e74..4975fdbd 100644 --- a/src/winio.c +++ b/src/winio.c @@ -2494,11 +2494,9 @@ int nanogetstr(bool allow_tabs, const char *buf, const char *curranswer, switch (kbinput) { case NANO_TAB_KEY: #ifndef DISABLE_TABCOMP - if (allow_tabs) { + if (allow_tabs) answer = input_tab(answer, &statusbar_x, &tabbed, list); - statusbar_x = strlen(answer); - } #endif break; case NANO_PREVLINE_KEY: -- 2.39.5