mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
Merge pull request #241 from pstray/master
Change a hash lookup so it compiles
This commit is contained in:
commit
c122a2a226
@ -68,7 +68,7 @@ CONFIG_NODE *config_node_section_index(CONFIG_REC *rec, CONFIG_NODE *parent, con
|
|||||||
config_node_remove(rec, parent, node);
|
config_node_remove(rec, parent, node);
|
||||||
node = NULL;
|
node = NULL;
|
||||||
show_error = 1;
|
show_error = 1;
|
||||||
} else if (!g_hash_table_contains(rec->cache_nodes, node)) {
|
} else if (!g_hash_table_lookup_extended(rec->cache_nodes, node, NULL, NULL)) {
|
||||||
g_hash_table_insert(rec->cache_nodes, node, NULL);
|
g_hash_table_insert(rec->cache_nodes, node, NULL);
|
||||||
show_error = 1;
|
show_error = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user