From 3ebfe3e11720d8a43d82235004de5e94c58d6240 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 19 Mar 2023 17:04:13 +0100 Subject: [PATCH] core: fix long lines in function gui_bar_use_temp_bars --- src/gui/gui-bar.c | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/src/gui/gui-bar.c b/src/gui/gui-bar.c index 507d76ddd..998d15d75 100644 --- a/src/gui/gui-bar.c +++ b/src/gui/gui-bar.c @@ -1764,9 +1764,10 @@ gui_bar_use_temp_bars () { if (!ptr_temp_bar->options[i]) { - ptr_temp_bar->options[i] = gui_bar_create_option (ptr_temp_bar->name, - i, - gui_bar_option_default[i]); + ptr_temp_bar->options[i] = gui_bar_create_option ( + ptr_temp_bar->name, + i, + gui_bar_option_default[i]); } if (ptr_temp_bar->options[i]) num_options_ok++; @@ -1774,22 +1775,23 @@ gui_bar_use_temp_bars () if (num_options_ok == GUI_BAR_NUM_OPTIONS) { - gui_bar_new_with_options (ptr_temp_bar->name, - ptr_temp_bar->options[GUI_BAR_OPTION_HIDDEN], - ptr_temp_bar->options[GUI_BAR_OPTION_PRIORITY], - ptr_temp_bar->options[GUI_BAR_OPTION_TYPE], - ptr_temp_bar->options[GUI_BAR_OPTION_CONDITIONS], - ptr_temp_bar->options[GUI_BAR_OPTION_POSITION], - ptr_temp_bar->options[GUI_BAR_OPTION_FILLING_TOP_BOTTOM], - ptr_temp_bar->options[GUI_BAR_OPTION_FILLING_LEFT_RIGHT], - ptr_temp_bar->options[GUI_BAR_OPTION_SIZE], - ptr_temp_bar->options[GUI_BAR_OPTION_SIZE_MAX], - ptr_temp_bar->options[GUI_BAR_OPTION_COLOR_FG], - ptr_temp_bar->options[GUI_BAR_OPTION_COLOR_DELIM], - ptr_temp_bar->options[GUI_BAR_OPTION_COLOR_BG], - ptr_temp_bar->options[GUI_BAR_OPTION_COLOR_BG_INACTIVE], - ptr_temp_bar->options[GUI_BAR_OPTION_SEPARATOR], - ptr_temp_bar->options[GUI_BAR_OPTION_ITEMS]); + gui_bar_new_with_options ( + ptr_temp_bar->name, + ptr_temp_bar->options[GUI_BAR_OPTION_HIDDEN], + ptr_temp_bar->options[GUI_BAR_OPTION_PRIORITY], + ptr_temp_bar->options[GUI_BAR_OPTION_TYPE], + ptr_temp_bar->options[GUI_BAR_OPTION_CONDITIONS], + ptr_temp_bar->options[GUI_BAR_OPTION_POSITION], + ptr_temp_bar->options[GUI_BAR_OPTION_FILLING_TOP_BOTTOM], + ptr_temp_bar->options[GUI_BAR_OPTION_FILLING_LEFT_RIGHT], + ptr_temp_bar->options[GUI_BAR_OPTION_SIZE], + ptr_temp_bar->options[GUI_BAR_OPTION_SIZE_MAX], + ptr_temp_bar->options[GUI_BAR_OPTION_COLOR_FG], + ptr_temp_bar->options[GUI_BAR_OPTION_COLOR_DELIM], + ptr_temp_bar->options[GUI_BAR_OPTION_COLOR_BG], + ptr_temp_bar->options[GUI_BAR_OPTION_COLOR_BG_INACTIVE], + ptr_temp_bar->options[GUI_BAR_OPTION_SEPARATOR], + ptr_temp_bar->options[GUI_BAR_OPTION_ITEMS]); } else {