Merge "fix error log statement"

This commit is contained in:
Doug Zongker
2014-03-17 23:52:34 +00:00
committed by Gerrit Code Review
+1 -1
View File
@@ -110,7 +110,7 @@ static int open_png(const char* name, png_structp* png_ptr, png_infop* info_ptr,
*channels = 3; *channels = 3;
} else { } else {
fprintf(stderr, "minui doesn't support PNG depth %d channels %d color_type %d\n", fprintf(stderr, "minui doesn't support PNG depth %d channels %d color_type %d\n",
bit_depth, (int) channels, color_type); bit_depth, *channels, color_type);
result = -7; result = -7;
goto exit; goto exit;
} }