Mercurial > emacs
changeset 41087:cec842fa938e
(Fx_create_frame): Accept zero tool_bar_button_relief.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 15 Nov 2001 16:13:10 +0000 |
parents | 63c9b0aa44a0 |
children | ee9264d0e596 |
files | src/xfns.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfns.c Thu Nov 15 16:12:36 2001 +0000 +++ b/src/xfns.c Thu Nov 15 16:13:10 2001 +0000 @@ -950,7 +950,7 @@ 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 @@ { 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);