]> git.eshelyaron.com Git - emacs.git/commit
Prefer EMACS_INT_MAX to TYPE_MAXIMUM (EMACS_INT)
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 19 Jan 2025 08:19:50 +0000 (00:19 -0800)
committerEshel Yaron <me@eshelyaron.com>
Mon, 20 Jan 2025 15:58:28 +0000 (16:58 +0100)
commitfb2e35949276fd12f78ad0aa3204fdfe738d76b7
treeeacb45894adc6a721904c2647c182d6df5fcb292
parentf6653615af6bd8d0b88fc4bd8915597fda5d88e5
Prefer EMACS_INT_MAX to TYPE_MAXIMUM (EMACS_INT)

* src/dispextern.h (GLYPH_CODE_P):
Use EMACS_INT_MAX instead of TYPE_MAXIMUM (EMACS_INT),
as it’s shorter and is what all the other code uses
in this situation.

(cherry picked from commit 7809086b3bd4f7e7257b42955e3e9eccefb289c3)
src/dispextern.h