1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-07-05 01:28:39 +00:00

Merge pull request #434 from srijs/patch-1

fix typo: generalise error message
This commit is contained in:
Lu Wang 2014-10-01 19:55:37 +08:00
commit 4f41716f63

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))
throw "Cannot initialize PNGWriter";
throw "Cannot initialize image writer";
auto * bitmap = getBitmap();
assert(bitmap->getMode() == splashModeRGB8);