changeset 41791:fcab0e888c5c

(x_draw_image_relief): Use predefined macro instead of constant when the value of `tool_bar_button_relief' is negative.
author Pavel Janík <Pavel@Janik.cz>
date Sun, 02 Dec 2001 17:28:08 +0000
parents 27f9d9949ca2
children ebb6bd938b61
files src/xterm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Sun Dec 02 17:21:41 2001 +0000
+++ b/src/xterm.c	Sun Dec 02 17:28:08 2001 +0000
@@ -4129,7 +4129,7 @@
   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