remove redundancy
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2546 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
045d130cfa
commit
e2ce2792a3
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue