set statusbar_xend properly when doing tab completion

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2315 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2005-02-11 16:23:56 +00:00
parent 54dca7b7b3
commit 2724c88717
1 changed files with 1 additions and 1 deletions

View File

@ -2531,7 +2531,7 @@ int nanogetstr(bool allow_tabs, const char *buf, const char *def,
#ifndef DISABLE_TABCOMP
if (allow_tabs) {
answer = input_tab(answer, &statusbar_x, &tabbed, list);
statusbar_xend = statusbar_x;
statusbar_xend = strlen(answer);
}
break;
#endif