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:
parent
f609ed732f
commit
5baa3be878
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user