bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10743: 24.0.93; missing type checking for Vtool_bar_button_margin in


From: Chong Yidong
Subject: bug#10743: 24.0.93; missing type checking for Vtool_bar_button_margin in x_draw_image_relief
Date: Wed, 22 Feb 2012 14:01:42 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux)

YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> writes:

> The current code in x_draw_image_relief (in xterm.c) applies XINT to
> Vtool_bar_button_margin without INTEGERP:
>
>   2326          extra = s->face->id == TOOL_BAR_FACE_ID
>   2327            ? XINT (Vtool_bar_button_margin) : 0;
>
> Other than an integer, a cons of integers is also a valid value for
> Vtool_bar_button_margin.

Thanks.  Fixed in trunk.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]