remove redundancy

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2546 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2005-05-26 05:33:57 +00:00
parent 045d130cfa
commit e2ce2792a3
1 changed files with 1 additions and 3 deletions

View File

@ -2494,11 +2494,9 @@ int nanogetstr(bool allow_tabs, const char *buf, const char *curranswer,
switch (kbinput) { switch (kbinput) {
case NANO_TAB_KEY: case NANO_TAB_KEY:
#ifndef DISABLE_TABCOMP #ifndef DISABLE_TABCOMP
if (allow_tabs) { if (allow_tabs)
answer = input_tab(answer, &statusbar_x, &tabbed, answer = input_tab(answer, &statusbar_x, &tabbed,
list); list);
statusbar_x = strlen(answer);
}
#endif #endif
break; break;
case NANO_PREVLINE_KEY: case NANO_PREVLINE_KEY: