mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
gresource-tool: Clarify precedence of operations
As suggested by cppcheck, which knows more than me.
This commit is contained in:
parent
a5044a8e78
commit
a42b6eab66
@ -99,7 +99,7 @@ list_resource (GResource *resource,
|
||||
if (g_resource_get_info (resource, child, 0, &size, &flags, NULL))
|
||||
{
|
||||
if (details)
|
||||
g_print ("%s%s%6"G_GSIZE_FORMAT " %s %s\n", section, section[0] ? " " : "", size, flags & G_RESOURCE_FLAGS_COMPRESSED ? "c" : "u", child);
|
||||
g_print ("%s%s%6"G_GSIZE_FORMAT " %s %s\n", section, section[0] ? " " : "", size, (flags & G_RESOURCE_FLAGS_COMPRESSED) ? "c" : "u", child);
|
||||
else
|
||||
g_print ("%s\n", child);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user