projects
/
chise
/
xemacs-chise.git-
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ee4d7b
)
(CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
author
tomo
<tomo>
Fri, 27 Aug 1999 06:57:06 +0000
(06:57 +0000)
committer
tomo
<tomo>
Fri, 27 Aug 1999 06:57:06 +0000
(06:57 +0000)
`NUM_LEADING_BYTES' in assert.
src/mule-charset.h
patch
|
blob
|
history
diff --git
a/src/mule-charset.h
b/src/mule-charset.h
index
7686f57
..
d149930
100644
(file)
--- a/
src/mule-charset.h
+++ b/
src/mule-charset.h
@@
-565,7
+565,8
@@
INLINE Lisp_Object CHARSET_BY_LEADING_BYTE (int lb);
INLINE Lisp_Object
CHARSET_BY_LEADING_BYTE (int lb)
{
- assert (lb >= 0x80 && lb <= 0xFF);
+ assert (lb >= MIN_LEADING_BYTE &&
+ lb < (MIN_LEADING_BYTE + NUM_LEADING_BYTES));
return charset_by_leading_byte[lb - MIN_LEADING_BYTE];
}