From 5baa3be8789c4c5b5611541505c659dbc1f3d5a7 Mon Sep 17 00:00:00 2001 From: Sam Rijs Date: Fri, 26 Sep 2014 16:32:58 +1000 Subject: [PATCH] fix typo: generalize error message --- src/BackgroundRenderer/SplashBackgroundRenderer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BackgroundRenderer/SplashBackgroundRenderer.cc b/src/BackgroundRenderer/SplashBackgroundRenderer.cc index 7a9f79b..3217535 100644 --- a/src/BackgroundRenderer/SplashBackgroundRenderer.cc +++ b/src/BackgroundRenderer/SplashBackgroundRenderer.cc @@ -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);