; * character.c (Fmax_char): Fix build with type checking.
This commit is contained in:
parent
ab5ca80e74
commit
b861adce06
1 changed files with 3 additions and 1 deletions
|
@ -185,7 +185,9 @@ by the Unicode Standard. */
|
|||
attributes: const)
|
||||
(Lisp_Object unicode)
|
||||
{
|
||||
return unicode ? make_fixnum (MAX_UNICODE_CHAR) : make_fixnum (MAX_CHAR);
|
||||
return (!NILP (unicode)
|
||||
? make_fixnum (MAX_UNICODE_CHAR)
|
||||
: make_fixnum (MAX_CHAR));
|
||||
}
|
||||
|
||||
DEFUN ("unibyte-char-to-multibyte", Funibyte_char_to_multibyte,
|
||||
|
|
Loading…
Add table
Reference in a new issue