# HG changeset patch # User Gerd Moellmann # Date 1005840790 0 # Node ID cec842fa938eb046b9d882a70e04d6565b5effe7 # Parent 63c9b0aa44a0c9c86c6fb1ba4ebc3490a1922dcc (Fx_create_frame): Accept zero tool_bar_button_relief. diff -r 63c9b0aa44a0 -r cec842fa938e src/xfns.c --- 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);