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:
commit
4f41716f63
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user