Add a newline to the error message from JPEG.

Review URL: https://codereview.chromium.org/18344006

git-svn-id: http://skia.googlecode.com/svn/trunk@9836 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
scroggo@google.com 2013-07-01 14:44:54 +00:00
parent 2ff6d1d1dc
commit e8f3471f94

View File

@ -199,7 +199,7 @@ static bool skip_src_rows_tile(jpeg_decompress_struct* cinfo,
static bool return_false(const jpeg_decompress_struct& cinfo, static bool return_false(const jpeg_decompress_struct& cinfo,
const SkBitmap& bm, const char msg[]) { const SkBitmap& bm, const char msg[]) {
#ifdef SK_DEBUG #ifdef SK_DEBUG
SkDebugf("libjpeg error %d <%s> from %s [%d %d]", cinfo.err->msg_code, SkDebugf("libjpeg error %d <%s> from %s [%d %d]\n", cinfo.err->msg_code,
cinfo.err->jpeg_message_table[cinfo.err->msg_code], msg, cinfo.err->jpeg_message_table[cinfo.err->msg_code], msg,
bm.width(), bm.height()); bm.width(), bm.height());
#endif #endif