1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00

fix typo: generalize error message

This commit is contained in:
Sam Rijs 2014-09-26 16:32:58 +10:00
parent f609ed732f
commit 5baa3be878

View File

@ -232,7 +232,7 @@ void SplashBackgroundRenderer::dump_image(const char * filename, int x1, int y1,
} }
if(!writer->init(f, width, height, param.h_dpi, param.v_dpi)) if(!writer->init(f, width, height, param.h_dpi, param.v_dpi))
throw "Cannot initialize PNGWriter"; throw "Cannot initialize image writer";
auto * bitmap = getBitmap(); auto * bitmap = getBitmap();
assert(bitmap->getMode() == splashModeRGB8); assert(bitmap->getMode() == splashModeRGB8);