[poppler] poppler/CairoOutputDev.cc

Carlos Garcia Campos carlosgc at kemper.freedesktop.org
Sun Nov 22 11:00:47 PST 2009


 poppler/CairoOutputDev.cc |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 1d0cb9b2cfd4d4d9aa9b0ad83ad6408544263a09
Author: Carlos Garcia Campos <carlosgc at gnome.org>
Date:   Sun Nov 22 19:59:34 2009 +0100

    [cairo] Initialize fill_color and stroke_color

diff --git a/poppler/CairoOutputDev.cc b/poppler/CairoOutputDev.cc
index 04457e4..7275c07 100644
--- a/poppler/CairoOutputDev.cc
+++ b/poppler/CairoOutputDev.cc
@@ -122,7 +122,9 @@ CairoOutputDev::CairoOutputDev() {
   fontEngine_owner = gFalse;
   glyphs = NULL;
   fill_pattern = NULL;
+  fill_color.r = fill_color.g = fill_color.b = 0;
   stroke_pattern = NULL;
+  stroke_color.r = stroke_color.g = stroke_color.b = 0;
   stroke_opacity = 1.0;
   fill_opacity = 1.0;
   textClipPath = NULL;


More information about the poppler mailing list