[poppler] qt4/src
Pino Toscano
pino at kemper.freedesktop.org
Wed Apr 16 11:32:58 PDT 2008
qt4/src/poppler-page.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1ed3cc40987b691319fd9f1a30296d80de5732fd
Author: Pino Toscano <pino at kde.org>
Date: Wed Apr 16 15:45:45 2008 +0200
fix border style conversion
diff --git a/qt4/src/poppler-page.cc b/qt4/src/poppler-page.cc
index 8d14d72..634e596 100644
--- a/qt4/src/poppler-page.cc
+++ b/qt4/src/poppler-page.cc
@@ -992,7 +992,7 @@ QList<Annotation*> Page::annotations() const
// -> style.width
annotation->style.width = border->getWidth();
// -> style.style
- annotation->style.style = (Annotation::LineStyle)( 2 >> border->getStyle() );
+ annotation->style.style = (Annotation::LineStyle)( 1 << border->getStyle() );
#if 0
// -> style.marks and style.spaces
// TODO
More information about the poppler
mailing list