aboutsummaryrefslogtreecommitdiffstats
path: root/linein.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-11-29 09:34:14 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-11-29 09:34:14 +0000
commitc33cdfcd56cf8bc964bb0e82684fedc7f532d259 (patch)
tree4696c5ee6f959dfbe0b7da9bf58e4c23c27cd584 /linein.c
parent[w3m-dev 02579] Use environment variables CC, CFLAGS, LDFLAGS (diff)
downloadw3m-c33cdfcd56cf8bc964bb0e82684fedc7f532d259.tar.gz
w3m-c33cdfcd56cf8bc964bb0e82684fedc7f532d259.zip
[w3m-dev 02584] code cleanup again
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'linein.c')
-rw-r--r--linein.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/linein.c b/linein.c
index d8b5184..44fc98e 100644
--- a/linein.c
+++ b/linein.c
@@ -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