]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_draw_image_relief): Accept zero tool_bar_button_relief.
authorGerd Moellmann <gerd@gnu.org>
Thu, 15 Nov 2001 16:13:47 +0000 (16:13 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 15 Nov 2001 16:13:47 +0000 (16:13 +0000)
src/xterm.c

index 8aa6ce6e09fa2341b10b045bf012900a523102a3..b2c875eb3d57274a1c016471a3b168cfa6b92ccb 100644 (file)
@@ -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 : 3;
       raised_p = s->hl == DRAW_IMAGE_RAISED;
     }
   else