(charset_code_point): Fixed.
authortomo <tomo>
Wed, 26 Dec 2001 18:23:53 +0000 (18:23 +0000)
committertomo <tomo>
Wed, 26 Dec 2001 18:23:53 +0000 (18:23 +0000)
src/mule-charset.c

index f04a876..db53d93 100644 (file)
@@ -1106,7 +1106,7 @@ charset_code_point (Lisp_Object charset, Emchar ch)
                  return (row << 8) | cell;
                }
              else
-               return code;
+               return code - min + XCHARSET_CODE_OFFSET (charset);
            }
        }
     }