[poppler] poppler/Annot.cc

Carlos Garcia Campos carlosgc at kemper.freedesktop.org
Fri Dec 14 06:26:44 PST 2007


 poppler/Annot.cc |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 99f049f0dfbfd9c22bea56ae96253837ae421e23
Author: Carlos Garcia Campos <carlosgc at gnome.org>
Date:   Fri Dec 14 15:26:24 2007 +0100

    Use the default dash array when it's not correct in AnnotBorderBS

diff --git a/poppler/Annot.cc b/poppler/Annot.cc
index dea725a..c1929cf 100644
--- a/poppler/Annot.cc
+++ b/poppler/Annot.cc
@@ -226,7 +226,9 @@ AnnotBorderBS::AnnotBorderBS(Dict *dict) {
       gfree (tempDash);
     }
 
-  } else {
+  }
+
+  if (!dash) {
     dashLength = 1;
     dash = (double *) gmallocn (dashLength, sizeof (double));
     dash[0] = 3;


More information about the poppler mailing list