diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-12-14 23:11:35 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-12-14 23:11:35 +0100 |
commit | fa0b3201783b6e06966edf4e46645751d943d824 (patch) | |
tree | 406ed3f068b09959398e3d480b588c5d4f47b6ab /src/gui/curses/gui-curses-chat.c | |
parent | ffa933bcf89b1d470cf816551b515eddd2a10426 (diff) | |
download | weechat-fa0b3201783b6e06966edf4e46645751d943d824.zip |
core: fix style
Diffstat (limited to 'src/gui/curses/gui-curses-chat.c')
-rw-r--r-- | src/gui/curses/gui-curses-chat.c | 35 |
1 files changed, 20 insertions, 15 deletions
diff --git a/src/gui/curses/gui-curses-chat.c b/src/gui/curses/gui-curses-chat.c index cfdfd2f9b..0caf0f90d 100644 --- a/src/gui/curses/gui-curses-chat.c +++ b/src/gui/curses/gui-curses-chat.c @@ -607,14 +607,16 @@ gui_chat_display_word (struct t_gui_window *window, ptr_data = data; while (ptr_data && ptr_data[0]) { - chars_displayed += gui_chat_display_prefix_suffix(window, line, - word + (ptr_data - data), - pre_lines_displayed, - lines_displayed, - chars_displayed, - simulate, - apply_style_inactive, - nick_offline); + chars_displayed += gui_chat_display_prefix_suffix ( + window, + line, + word + (ptr_data - data), + pre_lines_displayed, + lines_displayed, + chars_displayed, + simulate, + apply_style_inactive, + nick_offline); chars_to_display = gui_chat_strlen_screen (ptr_data); @@ -1528,13 +1530,16 @@ gui_chat_display_line (struct t_gui_window *window, struct t_gui_line *line, gui_chat_display_new_line (window, num_lines, count, &lines_displayed, simulate); ptr_data++; - gui_chat_display_prefix_suffix(window, line, - ptr_data, - pre_lines_displayed, &lines_displayed, - 0, - simulate, - CONFIG_BOOLEAN(config_look_color_inactive_message), - 0); + gui_chat_display_prefix_suffix ( + window, + line, + ptr_data, + pre_lines_displayed, + &lines_displayed, + 0, + simulate, + CONFIG_BOOLEAN(config_look_color_inactive_message), + 0); } gui_chat_get_word_info (window, |