goo/JpegWriter.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 9fc4b9f7a7e6105a6fd85aed9c21b78742e89ddd Author: Peter Breitenlohner <[email protected]> Date: Tue Feb 12 22:58:17 2013 +0100 true->TRUE Fixes compilation with jpeglib9 diff --git a/goo/JpegWriter.cc b/goo/JpegWriter.cc index 09f9b7b..9b7c505 100644 --- a/goo/JpegWriter.cc +++ b/goo/JpegWriter.cc @@ -8,6 +8,7 @@ // Copyright (C) 2010, 2012 Adrian Johnson <[email protected]> // Copyright (C) 2010 Harry Roberts <[email protected]> // Copyright (C) 2011 Thomas Freitag <[email protected]> +// Copyright (C) 2013 Peter Breitenlohner <[email protected]> // //======================================================================== @@ -117,7 +118,7 @@ bool JpegWriter::init(FILE *f, int width, int height, int hDPI, int vDPI) // Set quality if (priv->quality >= 0 && priv->quality <= 100) { - jpeg_set_quality(&priv->cinfo, priv->quality, true); + jpeg_set_quality(&priv->cinfo, priv->quality, TRUE); } // Use progressive mode _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
