aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorPavel Janík2001-12-02 17:29:41 +0000
committerPavel Janík2001-12-02 17:29:41 +0000
commit62854fe2d7273ba67cb34c259d2bcda3c08f226c (patch)
tree1ab9df186bb70a736e9f98c9de2125cdc378f465 /src/xterm.c
parentf6c89f271b7b661cf55985666400e51ea2c9ea80 (diff)
downloademacs-62854fe2d7273ba67cb34c259d2bcda3c08f226c.tar.gz
emacs-62854fe2d7273ba67cb34c259d2bcda3c08f226c.zip
(x_draw_image_relief): Use predefined macro instead of constant when the
value of `tool_bar_button_relief' is negative.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c2
1 files changed, 1 insertions, 1 deletions
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)
4129 if (s->hl == DRAW_IMAGE_SUNKEN 4129 if (s->hl == DRAW_IMAGE_SUNKEN
4130 || s->hl == DRAW_IMAGE_RAISED) 4130 || s->hl == DRAW_IMAGE_RAISED)
4131 { 4131 {
4132 thick = tool_bar_button_relief >= 0 ? tool_bar_button_relief : 3; 4132 thick = tool_bar_button_relief >= 0 ? tool_bar_button_relief : DEFAULT_TOOL_BAR_BUTTON_RELIEF;
4133 raised_p = s->hl == DRAW_IMAGE_RAISED; 4133 raised_p = s->hl == DRAW_IMAGE_RAISED;
4134 } 4134 }
4135 else 4135 else