From d671500a1a8d687fe398028de324a2dce6cbe233 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Sun, 20 Jul 2014 23:15:58 +0200 Subject: [PATCH] Code beautification in xml_open_gresource() --- src/astrognome.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/astrognome.c b/src/astrognome.c index ba4797d..d0a5b6e 100644 --- a/src/astrognome.c +++ b/src/astrognome.c @@ -81,7 +81,10 @@ xml_open_gresource(const gchar *uri) ); 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)); } else { g_warning("Reopening gres:// link?");