summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <pwithnall@endlessos.org>2023-03-06 14:38:58 +0000
committerPhilip Withnall <pwithnall@endlessos.org>2023-03-06 16:10:50 +0000
commit303d79989cfd2c4ee265380d3f0ec3731f6a63e2 (patch)
treedce682dc2c1947a5613709fa04676b544ef4d433
parenta4e597520a46cbd158c59487e116e603691aaff4 (diff)
downloadglib-303d79989cfd2c4ee265380d3f0ec3731f6a63e2.tar.gz
gresourcefile: Fix a missing newline in GResourceFile
This introduces no functional changes. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
-rw-r--r--gio/gresourcefile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gio/gresourcefile.c b/gio/gresourcefile.c
index 24f20f290..488fa34e2 100644
--- a/gio/gresourcefile.c
+++ b/gio/gresourcefile.c
@@ -558,7 +558,8 @@ g_resource_file_query_filesystem_info (GFile *file,
if (g_file_attribute_matcher_matches (matcher, G_FILE_ATTRIBUTE_FILESYSTEM_TYPE))
g_file_info_set_attribute_string (info, G_FILE_ATTRIBUTE_FILESYSTEM_TYPE, "resource");
- if (g_file_attribute_matcher_matches (matcher, G_FILE_ATTRIBUTE_FILESYSTEM_READONLY)) g_file_info_set_attribute_boolean (info, G_FILE_ATTRIBUTE_FILESYSTEM_READONLY, TRUE);
+ if (g_file_attribute_matcher_matches (matcher, G_FILE_ATTRIBUTE_FILESYSTEM_READONLY))
+ g_file_info_set_attribute_boolean (info, G_FILE_ATTRIBUTE_FILESYSTEM_READONLY, TRUE);
g_file_attribute_matcher_unref (matcher);