mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 16:52:18 +01:00
example/imageviewer: don't print filename colon
This commit is contained in:
1 parent
1e2e58cea0
commit
072595ae7d
1 file changed
+2
-2
@@ -322,10 +322,10 @@ load_image(const char* filename) {
|
|||||||
g_pixbuf = res.pixbuf;
|
g_pixbuf = res.pixbuf;
|
||||||
|
|
||||||
if (res.error_message.empty()) {
|
if (res.error_message.empty()) {
|
||||||
printf("%s: ok (%" PRIu32 " x %" PRIu32 ")\n", adj_filename, g_width,
|
printf("%s ok (%" PRIu32 " x %" PRIu32 ")\n", adj_filename, g_width,
|
||||||
g_height);
|
g_height);
|
||||||
} else {
|
} else {
|
||||||
printf("%s: %s\n", adj_filename, res.error_message.c_str());
|
printf("%s %s\n", adj_filename, res.error_message.c_str());
|
||||||
}
|
}
|
||||||
return res.pixbuf.pixcfg.is_valid();
|
return res.pixbuf.pixcfg.is_valid();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user