Subject: bug#10743: 24.0.93; missing type checking for Vtool_bar_button_margin in x_draw_image_relief
YAMAMOTO Mitsuharu <mituharu@xxxxxxxxxxxxxxxxxxxx> 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.



(C)2011 mailinglist-archive.com