(Fx_store_cutbuffer_internal): Modify for UTF-2000.
authortomo <tomo>
Fri, 9 Jun 2000 09:21:29 +0000 (09:21 +0000)
committertomo <tomo>
Fri, 9 Jun 2000 09:21:29 +0000 (09:21 +0000)
src/select-x.c

index a2c41c2..6e1f344 100644 (file)
@@ -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;