From 9f864bf9a3ec88ef89ad7a96ccedd31291fb1a1f Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 15 Nov 2001 16:12:36 +0000 Subject: [PATCH] (build_desired_tool_bar_string): Accept zero tool_bar_button_relief. --- src/xdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index 6cac4bc13f5..3c6541d6493 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -7603,7 +7603,7 @@ build_desired_tool_bar_string (f) plist = Fcopy_sequence (XCDR (image)); /* Compute margin and relief to draw. */ - relief = (tool_bar_button_relief > 0 + relief = (tool_bar_button_relief >= 0 ? tool_bar_button_relief : DEFAULT_TOOL_BAR_BUTTON_RELIEF); hmargin = vmargin = relief; -- 2.39.5