From: David Lawrence Ramsey Date: Thu, 26 May 2005 05:33:57 +0000 (+0000) Subject: remove redundancy X-Git-Tag: v1.3.8~257 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e2ce2792a381bb5caa7edcd53888ae0858fe8d36;p=nano.git remove redundancy git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2546 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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: