From: tomo Date: Fri, 9 Jun 2000 09:21:29 +0000 (+0000) Subject: (Fx_store_cutbuffer_internal): Modify for UTF-2000. X-Git-Tag: r21-2-34-utf-2000-0_16-1~48 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=dfadc817b9026a2374f2eb0eeb22a116ce0584bc;p=chise%2Fxemacs-chise.git (Fx_store_cutbuffer_internal): Modify for UTF-2000. --- 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;