mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-21 06:55:39 +00:00
Fix error message in charset.c
* src/charset.c (Fdefine_charset_internal): Don't reference uninitialized value in error message. (Bug#73985)
This commit is contained in:
parent
fefc3005d4
commit
f33bc659c9
@ -1007,7 +1007,8 @@ usage: (define-charset-internal ...) */)
|
||||
|
||||
i = CODE_POINT_TO_INDEX (&charset, charset.max_code);
|
||||
if (MAX_CHAR - charset.code_offset < i)
|
||||
error ("Unsupported max char: %d", charset.max_char);
|
||||
error ("Unsupported max char: %d + %ud > MAX_CHAR (%d)",
|
||||
i, charset.max_code, MAX_CHAR);
|
||||
charset.max_char = i + charset.code_offset;
|
||||
i = CODE_POINT_TO_INDEX (&charset, charset.min_code);
|
||||
charset.min_char = i + charset.code_offset;
|
||||
|
Loading…
Reference in New Issue
Block a user