From 62854fe2d7273ba67cb34c259d2bcda3c08f226c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pavel=20Jan=C3=ADk?= Date: Sun, 2 Dec 2001 17:29:41 +0000 Subject: [PATCH] (x_draw_image_relief): Use predefined macro instead of constant when the value of `tool_bar_button_relief' is negative. --- src/ChangeLog | 5 +++++ src/xterm.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.39.5