From: Gerd Moellmann Date: Thu, 15 Nov 2001 16:12:36 +0000 (+0000) Subject: (build_desired_tool_bar_string): Accept zero X-Git-Tag: ttn-vms-21-2-B4~18538 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9f864bf9a3ec88ef89ad7a96ccedd31291fb1a1f;p=emacs.git (build_desired_tool_bar_string): Accept zero tool_bar_button_relief. --- 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;