mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-21 12:40:08 +00:00
fix #208
This commit is contained in:
parent
0be34cb104
commit
2e53655b27
2
AUTHORS
2
AUTHORS
@ -17,4 +17,4 @@ Arthur Titeica <arthur.titeica@gmail.com>
|
||||
Deepak Thukral <iapain@iapa.in>
|
||||
Jamie Ly <me@jamie.ly>
|
||||
Lu Wang <coolwanglu@gmail.com>
|
||||
|
||||
Steven Lee <rubypdf@gmail.com>
|
||||
|
@ -188,10 +188,16 @@ void SplashBackgroundRenderer::dump_image(const char * filename, int x1, int y1,
|
||||
p += row_size;
|
||||
}
|
||||
|
||||
if(!writer->writePointers(pointers.data(), height)) {
|
||||
if(!writer->writePointers(pointers.data(), height))
|
||||
{
|
||||
throw "Cannot write background image";
|
||||
}
|
||||
|
||||
if(!writer->close())
|
||||
{
|
||||
throw "Cannot finish background image";
|
||||
}
|
||||
|
||||
fclose(f);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user