1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-05 05:21:26 -08:00

(x_draw_image_relief): Use predefined macro instead of constant when the

value of `tool_bar_button_relief' is negative.
This commit is contained in:
Pavel Janík 2001-12-02 17:29:41 +00:00
parent f6c89f271b
commit 62854fe2d7
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2001-12-02 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
* xterm.c (x_draw_image_relief): Use predefined macro instead of
constant when the value of `tool_bar_button_relief' is negative.
2001-12-02 Richard M. Stallman <rms@gnu.org>
* xmenu.c (menu_highlight_callback): Use `help' field as Lisp_Object.

View file

@ -4129,7 +4129,7 @@ x_draw_image_relief (s)
if (s->hl == DRAW_IMAGE_SUNKEN
|| s->hl == DRAW_IMAGE_RAISED)
{
thick = tool_bar_button_relief >= 0 ? tool_bar_button_relief : 3;
thick = tool_bar_button_relief >= 0 ? tool_bar_button_relief : DEFAULT_TOOL_BAR_BUTTON_RELIEF;
raised_p = s->hl == DRAW_IMAGE_RAISED;
}
else