splash/SplashBitmap.cc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 9f7d919e68a26bb7dd809986d8394fe20b750bd0
Author: Anthony Wesley <[email protected]>
Date:   Thu May 17 19:54:47 2012 +0200

    Fix logic on SplashBitmap::writeImgFile

diff --git a/splash/SplashBitmap.cc b/splash/SplashBitmap.cc
index f252318..e4f27fc 100644
--- a/splash/SplashBitmap.cc
+++ b/splash/SplashBitmap.cc
@@ -20,6 +20,7 @@
 // Copyright (C) 2010 Christian Feuersänger <[email protected]>
 // Copyright (C) 2010 William Bader <[email protected]>
 // Copyright (C) 2011, 2012 Thomas Freitag <[email protected]>
+// Copyright (C) 2012 Anthony Wesley <[email protected]>
 //
 // To see a description of the changes please see the Changelog file that
 // came with your tarball or type make ChangeLog if you are building from git
@@ -519,7 +520,7 @@ SplashError SplashBitmap::writeImgFile(ImgWriter *writer, 
FILE *f, int hDPI, int
     break;
   }
   
-  if (writer->close()) {
+  if (!writer->close()) {
     return splashErrGeneric;
   }
 
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to