From: Pavel Janík Date: Sun, 2 Dec 2001 17:29:41 +0000 (+0000) Subject: (x_draw_image_relief): Use predefined macro instead of constant when the X-Git-Tag: ttn-vms-21-2-B4~17925 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=62854fe2d7273ba67cb34c259d2bcda3c08f226c;p=emacs.git (x_draw_image_relief): Use predefined macro instead of constant when the value of `tool_bar_button_relief' is negative. --- diff --git a/src/ChangeLog b/src/ChangeLog index 69d2286bc8a..2c31f914483 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2001-12-02 Pavel Jan,Bm(Bk + + * 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 * xmenu.c (menu_highlight_callback): Use `help' field as Lisp_Object. diff --git a/src/xterm.c b/src/xterm.c index 13bc4d3a19c..db255f07659 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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