mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
Merge pull request #587 from ailin-nemui/sbar_crash
add assertion to statusbar_read_group
This commit is contained in:
commit
07050e2a3c
1 changed files with 2 additions and 0 deletions
|
|
@ -194,6 +194,8 @@ static void statusbar_read_group(CONFIG_NODE *node)
|
|||
STATUSBAR_GROUP_REC *group;
|
||||
GSList *tmp;
|
||||
|
||||
g_return_if_fail(is_node_list(node));
|
||||
|
||||
group = statusbar_group_find(node->key);
|
||||
if (group == NULL) {
|
||||
group = statusbar_group_create(node->key);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue