From b99c7cfb03696fb41173f8929aafdc925ae97b3e Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Fri, 18 Mar 2022 18:46:34 +0100 Subject: [PATCH] [group] _node --- src/bfu/group.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/bfu/group.c b/src/bfu/group.c index 5e5e8ba9..e4a9b7cc 100644 --- a/src/bfu/group.c +++ b/src/bfu/group.c @@ -28,7 +28,7 @@ dlg_format_group(struct dialog_data *dlg_data, int space_between_widgets = 1; int line_width = 0; int xpos; - struct color_pair *color = get_bfu_color(term, "dialog.text"); + unsigned int color_node = get_bfu_color_node(term, "dialog.text"); assert(n > 0); if_assert_failed return; @@ -88,18 +88,18 @@ dlg_format_group(struct dialog_data *dlg_data, text, label_length, NULL); - draw_dlg_text(dlg_data, xpos + width + draw_dlg_text_node(dlg_data, xpos + width + label_padding, *y, text, lb, 0, - color); + color_node); } else #endif /* CONFIG_UTF8 */ { - draw_dlg_text(dlg_data, xpos + width + draw_dlg_text_node(dlg_data, xpos + width + label_padding, *y, text, label_length, 0, - color); + color_node); } } @@ -114,14 +114,14 @@ dlg_format_group(struct dialog_data *dlg_data, text, label_length, NULL); - draw_dlg_text(dlg_data, xpos, *y, - text, lb, 0, color); + draw_dlg_text_node(dlg_data, xpos, *y, + text, lb, 0, color_node); } else #endif /* CONFIG_UTF8 */ { - draw_dlg_text(dlg_data, xpos, *y, + draw_dlg_text_node(dlg_data, xpos, *y, text, label_length, - 0, color); + 0, color_node); } }