From: Gerd Moellmann Date: Thu, 15 Nov 2001 16:13:47 +0000 (+0000) Subject: (x_draw_image_relief): Accept zero tool_bar_button_relief. X-Git-Tag: ttn-vms-21-2-B4~18536 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a10b6ff1a9e9845771275356208e0ae0326415f8;p=emacs.git (x_draw_image_relief): Accept zero tool_bar_button_relief. --- diff --git a/src/xterm.c b/src/xterm.c index 8aa6ce6e09f..b2c875eb3d5 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 : 3; raised_p = s->hl == DRAW_IMAGE_RAISED; } else