]> git.eshelyaron.com Git - emacs.git/commitdiff
If CODE1 is nil, use the minimum code of the charset.
authorKenichi Handa <handa@m17n.org>
Tue, 21 May 2002 05:39:08 +0000 (05:39 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 21 May 2002 05:39:08 +0000 (05:39 +0000)
src/charset.c

index 11dd4b82b72969946fccd73679a1629c024c6dc9..d7516dc1ba31134bc88480c3161585c86710b04d 100644 (file)
@@ -1494,7 +1494,8 @@ is specified.  */)
 
   dimension = CHARSET_DIMENSION (charsetp);
   if (NILP (code1))
-    code = charsetp->code_space[(dimension - 1) * 4];
+    code = (CHARSET_ASCII_COMPATIBLE_P (charsetp)
+           ? 0 : CHARSET_MIN_CODE (charsetp));
   else
     {
       CHECK_NATNUM (code1);