diff options
author | Paul Eggert <[email protected]> | 2011-05-01 09:27:34 -0700 |
---|---|---|
committer | Paul Eggert <[email protected]> | 2011-05-01 09:27:34 -0700 |
commit | c032b5f8c03c4cd94239074dc9fd682bc3e2f3a1 (patch) | |
tree | 6d1b248dd9e9d8845d84f9647a5aeb508c3b29c9 /src/charset.h | |
parent | dcb79f208ab9e2e1e8e0d4e9810ca25c1a660eaf (diff) |
* charset.h (struct charset.code_space): Now has 15 elements, not 16.
* charset.c (Fdefine_charset_internal): Don't initialize
charset.code_space[15]. The value was garbage, on hosts with
32-bit int.
Diffstat (limited to 'src/charset.h')
-rw-r--r-- | src/charset.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/charset.h b/src/charset.h index 74d55a31b4..53784bf845 100644 --- a/src/charset.h +++ b/src/charset.h @@ -155,10 +155,11 @@ struct charset byte code of the (N+1)th dimension, <code_space>[4N+1] is a maximum byte code of the (N+1)th dimension, <code_space>[4N+2] is (<code_space>[4N+1] - <code_space>[4N] + 1), <code_space>[4N+3] - is a number of characters containd in the first to (N+1)th - dismesions. We get `char-index' of a `code-point' from this + is the number of characters contained in the first through (N+1)th + dimensions, except that there is no <code_space>[15]. + We get `char-index' of a `code-point' from this information. */ - int code_space[16]; + int code_space[15]; /* If B is a byte of Nth dimension of a code-point, the (N-1)th bit of code_space_mask[B] is set. This array is used to quickly |