GCN image generation fixes

This commit is contained in:
Jack Andersen
2016-01-21 10:46:07 -10:00
parent fafff92874
commit 3fab04ff1a
3 changed files with 8 additions and 2 deletions

View File

@@ -93,7 +93,10 @@ int main(int argc, char* argv[])
lastIdx = idx;
printf("\n");
}
printf("\r%s %" PRISize " B", name.c_str(), bytes);
if (bytes != -1)
printf("\r%s %" PRISize " B", name.c_str(), bytes);
else
printf("\r%s", name.c_str());
fflush(stdout);
};