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