diff options
Diffstat (limited to 'linein.c')
-rw-r--r-- | linein.c | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -1,4 +1,4 @@ -/* $Id: linein.c,v 1.8 2001/11/24 02:01:26 ukai Exp $ */ +/* $Id: linein.c,v 1.9 2001/11/29 09:34:14 ukai Exp $ */ #include "fm.h" #include "local.h" #include "myctype.h" @@ -411,7 +411,10 @@ ins_kanji(Str tmp) static void _esc(void) { - char c, c2; + char c; +#ifdef JP_CHARSET + char c2; +#endif switch (c = getch()) { case '[': @@ -440,16 +443,14 @@ _esc(void) need_redraw = TRUE; } else -#else - _rcompl(); #endif + _rcompl(); break; case CTRL_D: #ifdef EMACS_LIKE_LINEEDIT if (!emacs_like_lineedit) -#else - _rdcompl(); #endif + _rdcompl(); need_redraw = TRUE; break; #ifdef EMACS_LIKE_LINEEDIT |