mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
Merge pull request #587 from ailin-nemui/sbar_crash
add assertion to statusbar_read_group
This commit is contained in:
commit
07050e2a3c
@ -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…
Reference in New Issue
Block a user