Commit 2724c887 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

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
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
...@@ -2531,7 +2531,7 @@ int nanogetstr(bool allow_tabs, const char *buf, const char *def, ...@@ -2531,7 +2531,7 @@ int nanogetstr(bool allow_tabs, const char *buf, const char *def,
#ifndef DISABLE_TABCOMP #ifndef DISABLE_TABCOMP
if (allow_tabs) { if (allow_tabs) {
answer = input_tab(answer, &statusbar_x, &tabbed, list); answer = input_tab(answer, &statusbar_x, &tabbed, list);
statusbar_xend = statusbar_x; statusbar_xend = strlen(answer);
} }
break; break;
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment