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

src/winio.c

index 221b1e74d1d6b63d2b2f5c62eff8d40e717d8399..4975fdbdf9c13f5397c0dba53cbaa9eec9db933b 100644 (file)
@@ -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: