qt4/src/poppler-page.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1ed3cc40987b691319fd9f1a30296d80de5732fd
Author: Pino Toscano <[EMAIL PROTECTED]>
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
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to