]> git.eshelyaron.com Git - emacs.git/commitdiff
(build_desired_tool_bar_string): Accept zero
authorGerd Moellmann <gerd@gnu.org>
Thu, 15 Nov 2001 16:12:36 +0000 (16:12 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 15 Nov 2001 16:12:36 +0000 (16:12 +0000)
tool_bar_button_relief.

src/xdisp.c

index 6cac4bc13f5d70bee130854f3b6f32968a05c12c..3c6541d6493356136eb4140933a1e97a4ca35d17 100644 (file)
@@ -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;