mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-09-20 09:16:15 +02: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 (g_resource_get_info (resource, child, 0, &size, &flags, NULL))
|
||||||
{
|
{
|
||||||
if (details)
|
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
|
else
|
||||||
g_print ("%s\n", child);
|
g_print ("%s\n", child);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user