From dfadc817b9026a2374f2eb0eeb22a116ce0584bc Mon Sep 17 00:00:00 2001 From: tomo Date: Fri, 9 Jun 2000 09:21:29 +0000 Subject: [PATCH] (Fx_store_cutbuffer_internal): Modify for UTF-2000. --- src/select-x.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/select-x.c b/src/select-x.c index a2c41c2..6e1f344 100644 --- a/src/select-x.c +++ b/src/select-x.c @@ -1597,6 +1597,14 @@ Set the value of the named CUTBUFFER (typically CUT_BUFFER0) to STRING. continue; } +#ifdef UTF2000 + if ((*ptr) <= 0xC3) + { + chartypes = LATIN_1; + ptr += 2; + continue; + } +#else if ((*ptr) == LEADING_BYTE_LATIN_ISO8859_1 || (*ptr) == LEADING_BYTE_CONTROL_1) { @@ -1604,6 +1612,7 @@ Set the value of the named CUTBUFFER (typically CUT_BUFFER0) to STRING. ptr += 2; continue; } +#endif chartypes = WORLD; break; -- 1.7.10.4