mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -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;
|
STATUSBAR_GROUP_REC *group;
|
||||||
GSList *tmp;
|
GSList *tmp;
|
||||||
|
|
||||||
|
g_return_if_fail(is_node_list(node));
|
||||||
|
|
||||||
group = statusbar_group_find(node->key);
|
group = statusbar_group_find(node->key);
|
||||||
if (group == NULL) {
|
if (group == NULL) {
|
||||||
group = statusbar_group_create(node->key);
|
group = statusbar_group_create(node->key);
|
||||||
|
Loading…
Reference in New Issue
Block a user