[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-poppler
Subject: [poppler] Branch 'poppler-0.20' - splash/SplashBitmap.cc
From: aacid () kemper ! freedesktop ! org (Albert Astals Cid)
Date: 2012-05-17 17:56:42
Message-ID: 20120517175643.034871004A () kemper ! freedesktop ! org
[Download RAW message or body]
splash/SplashBitmap.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 9f7d919e68a26bb7dd809986d8394fe20b750bd0
Author: Anthony Wesley <awesley@smartnetworks.com.au>
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 <cfeuersaenger@googlemail.com>
// Copyright (C) 2010 William Bader <williambader@hotmail.com>
// Copyright (C) 2011, 2012 Thomas Freitag <Thomas.Freitag@alfa.de>
+// Copyright (C) 2012 Anthony Wesley <awesley@smartnetworks.com.au>
//
// 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
poppler@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic