commit d922f199a71a9d4a7d4aa54c25ecc1c9d05386ad
parent 34bdc35d94351f9094f40a8b99bcc459aadede22
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Thu, 2 Jun 2005 19:50:18 +0000
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
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/winio.c b/src/winio.c
@@ -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;