changeset 41088:ee9264d0e596

(x_draw_image_relief): Accept zero tool_bar_button_relief.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 15 Nov 2001 16:13:47 +0000
parents cec842fa938e
children ead122ed3fe6
files src/xterm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Thu Nov 15 16:13:10 2001 +0000
+++ b/src/xterm.c	Thu Nov 15 16:13:47 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 : 3;
       raised_p = s->hl == DRAW_IMAGE_RAISED;
     }
   else