gresource-tool: Clarify precedence of operations

As suggested by cppcheck, which knows more than me.
This commit is contained in:
Philip Withnall 2016-08-13 10:24:04 +02:00
parent a5044a8e78
commit a42b6eab66

View File

@ -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);
}