Commit d922f199 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

define last_kbinput inside the right #ifdef block

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2578 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
......@@ -2448,12 +2448,12 @@ int nanogetstr(bool allow_tabs, const char *buf, const char *curranswer,
#endif
#if !defined(NANO_SMALL) && defined(ENABLE_NANORC)
#ifndef DISABLE_TABCOMP
int last_kbinput = ERR;
/* The key we pressed before the current key. */
size_t complete_len = 0;
/* The length of the original string that we're trying to
* tab complete, if any. */
#endif
int last_kbinput = ERR;
/* The key we pressed before the current key. */
char *history = NULL;
/* The current history string. */
char *magichistory = NULL;
......
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