From 8ed86491eac8a1fb43fc7c640c20078e30ca4a0b Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 15 Nov 2001 16:13:10 +0000 Subject: [PATCH] (Fx_create_frame): Accept zero tool_bar_button_relief. --- src/xfns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xfns.c b/src/xfns.c index 6cc5a3ce14f..4a4a44e7a06 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -950,7 +950,7 @@ x_set_frame_parameters (f, alist) old_value = get_frame_param (f, prop); - if (NILP (Fequal (val, old_value))) + //if (NILP (Fequal (val, old_value))) { store_frame_param (f, prop, val); @@ -4400,7 +4400,7 @@ This function is an internal primitive--use `make-frame' instead. */) { int margin, relief, bar_height; - relief = (tool_bar_button_relief > 0 + relief = (tool_bar_button_relief >= 0 ? tool_bar_button_relief : DEFAULT_TOOL_BAR_BUTTON_RELIEF); -- 2.39.5