summaryrefslogtreecommitdiff
path: root/src/xterm.c
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-11-15 16:13:47 +0000
committerGerd Moellmann <gerd@gnu.org>2001-11-15 16:13:47 +0000
commita10b6ff1a9e9845771275356208e0ae0326415f8 (patch)
tree9ac35268dcb5f7fb396c752a2fd90a2cfe152aac /src/xterm.c
parent8ed86491eac8a1fb43fc7c640c20078e30ca4a0b (diff)
downloademacs-a10b6ff1a9e9845771275356208e0ae0326415f8.tar.gz
(x_draw_image_relief): Accept zero tool_bar_button_relief.
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 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