Use 'max' macro in clip_to_bounds
* src/lisp.h (clip_to_bounds): Use 'max' macro.
This commit is contained in:
parent
ad51b3b391
commit
b568ff418c
1 changed files with 1 additions and 1 deletions
|
@ -1361,7 +1361,7 @@ EQ (Lisp_Object x, Lisp_Object y)
|
|||
INLINE intmax_t
|
||||
clip_to_bounds (intmax_t lower, intmax_t num, intmax_t upper)
|
||||
{
|
||||
return num < lower ? lower : min (num, upper);
|
||||
return max (lower, min (num, upper));
|
||||
}
|
||||
|
||||
/* Construct a Lisp_Object from a value or address. */
|
||||
|
|
Loading…
Add table
Reference in a new issue