summaryrefslogtreecommitdiffstats
path: root/contrib/tcsh/ed.refresh.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-06-10 21:38:51 +0000
committerobrien <obrien@FreeBSD.org>2000-06-10 21:38:51 +0000
commit5bc99b103657e5e060a1f6c3d4be5d12bbc83a57 (patch)
tree68a5de6e1dcbc9a9b1946ae678f34e01e8426eb9 /contrib/tcsh/ed.refresh.c
parent85b66f4b34daef6618e01f81ba3e799b9cbbf082 (diff)
downloadFreeBSD-src-5bc99b103657e5e060a1f6c3d4be5d12bbc83a57.zip
FreeBSD-src-5bc99b103657e5e060a1f6c3d4be5d12bbc83a57.tar.gz
Offical fixes to the history and I18N bugs ache found.
Diffstat (limited to 'contrib/tcsh/ed.refresh.c')
-rw-r--r--contrib/tcsh/ed.refresh.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/contrib/tcsh/ed.refresh.c b/contrib/tcsh/ed.refresh.c
index 46333c9..5a5a9cf 100644
--- a/contrib/tcsh/ed.refresh.c
+++ b/contrib/tcsh/ed.refresh.c
@@ -1,4 +1,4 @@
-/* $Header: /src/pub/tcsh/ed.refresh.c,v 3.25 1998/11/24 18:17:22 christos Exp $ */
+/* $Header: /src/pub/tcsh/ed.refresh.c,v 3.26 2000/06/10 20:14:57 kim Exp $ */
/*
* ed.refresh.c: Lower level screen refreshing functions
*/
@@ -36,7 +36,7 @@
*/
#include "sh.h"
-RCSID("$Id: ed.refresh.c,v 3.25 1998/11/24 18:17:22 christos Exp $")
+RCSID("$Id: ed.refresh.c,v 3.26 2000/06/10 20:14:57 kim Exp $")
#include "ed.h"
/* #define DEBUG_UPDATE */
@@ -182,7 +182,11 @@ Draw(c) /* draw c, expand tabs, ctl chars */
}
}
#ifdef KANJI
- else if (!adrof(STRnokanji)) {
+ else if (
+#ifdef DSPMBYTE
+ _enable_mbdisp &&
+#endif
+ !adrof(STRnokanji)) {
Vdraw(c);
return;
}
@@ -1264,7 +1268,11 @@ RefPlusOne()
PutPlusOne(c);
}
#ifdef KANJI
- else if (!adrof(STRnokanji)) {
+ else if (
+#ifdef DSPMBYTE
+ _enable_mbdisp &&
+#endif
+ !adrof(STRnokanji)) {
PutPlusOne(c);
}
#endif
OpenPOWER on IntegriCloud