summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/gui-bar-window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/gui-bar-window.c b/src/gui/gui-bar-window.c
index 035160785..25aec5f65 100644
--- a/src/gui/gui-bar-window.c
+++ b/src/gui/gui-bar-window.c
@@ -499,6 +499,7 @@ gui_bar_window_content_get_with_filling (struct t_gui_bar_window *bar_window,
content_length += strlen ((item_value) ?
item_value : ptr_content);
content = strdup ((item_value) ? item_value : ptr_content);
+ first_sub_item = 0;
}
else
{