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
master
David Lawrence Ramsey 2005-06-02 19:50:18 +00:00
parent 34bdc35d94
commit d922f199a7
1 changed files with 2 additions and 2 deletions

View File

@ -2448,12 +2448,12 @@ int nanogetstr(bool allow_tabs, const char *buf, const char *curranswer,
#endif #endif
#if !defined(NANO_SMALL) && defined(ENABLE_NANORC) #if !defined(NANO_SMALL) && defined(ENABLE_NANORC)
#ifndef DISABLE_TABCOMP #ifndef DISABLE_TABCOMP
int last_kbinput = ERR;
/* The key we pressed before the current key. */
size_t complete_len = 0; size_t complete_len = 0;
/* The length of the original string that we're trying to /* The length of the original string that we're trying to
* tab complete, if any. */ * tab complete, if any. */
#endif #endif
int last_kbinput = ERR;
/* The key we pressed before the current key. */
char *history = NULL; char *history = NULL;
/* The current history string. */ /* The current history string. */
char *magichistory = NULL; char *magichistory = NULL;