diff src/mule-charset.c @ 1747:8fcb82013b26

[xemacs-hg @ 2003-10-14 16:44:14 by stephent] compiler quietus <87zng393e8.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Tue, 14 Oct 2003 16:44:16 +0000
parents e22b0213b713
children c438060b26c6
line wrap: on
line diff
--- a/src/mule-charset.c	Tue Oct 14 16:34:57 2003 +0000
+++ b/src/mule-charset.c	Tue Oct 14 16:44:16 2003 +0000
@@ -301,8 +301,13 @@
     }
   else
     {
+      /* awfully fragile, but correct */
+#if MAX_LEADING_BYTE_PRIVATE_2 == 255
+      if (chlook->next_allocated_2_byte_leading_byte == 0)
+#endif
       if (chlook->next_allocated_2_byte_leading_byte >
 	  MAX_LEADING_BYTE_PRIVATE_2)
+#endif
 	lb = 0;
       else
 	lb = chlook->next_allocated_2_byte_leading_byte++;