Fix assertion violation with zero-width :box attributes
* src/xfaces.c (merge_face_ref): Don't allow :box attribute with a zero value. (Bug#50699)
This commit is contained in:
parent
4ec00b0ff0
commit
d16e51e8d2
1 changed files with 1 additions and 1 deletions
|
@ -2709,7 +2709,7 @@ merge_face_ref (struct window *w,
|
|||
{
|
||||
if (EQ (value, Qt))
|
||||
value = make_fixnum (1);
|
||||
if (FIXNUMP (value)
|
||||
if ((FIXNUMP (value) && XFIXNUM (value) != 0)
|
||||
|| STRINGP (value)
|
||||
|| CONSP (value)
|
||||
|| NILP (value))
|
||||
|
|
Loading…
Add table
Reference in a new issue