Code beautification in xml_open_gresource()
This commit is contained in:
parent
cad657c1b1
commit
d671500a1a
@ -81,7 +81,10 @@ xml_open_gresource(const gchar *uri)
|
|||||||
);
|
);
|
||||||
g_free(path);
|
g_free(path);
|
||||||
|
|
||||||
if ((position = g_hash_table_lookup(xinclude_positions, res_location)) == NULL) {
|
if ((position = g_hash_table_lookup(
|
||||||
|
xinclude_positions,
|
||||||
|
res_location
|
||||||
|
)) == NULL) {
|
||||||
g_hash_table_insert(xinclude_positions, res_location, g_new0(gsize, 1));
|
g_hash_table_insert(xinclude_positions, res_location, g_new0(gsize, 1));
|
||||||
} else {
|
} else {
|
||||||
g_warning("Reopening gres:// link?");
|
g_warning("Reopening gres:// link?");
|
||||||
|
Loading…
Reference in New Issue
Block a user