[poppler] poppler/Annot.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Mon Jan 21 12:43:52 PST 2008


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

New commits:
commit 0d558841142587d66bd3b2025e5a9ca39f7a6159
Author: Albert Astals Cid <aacid at kde.org>
Date:   Mon Jan 21 21:43:39 2008 +0100

    Fix another reversed comparison due to cmp

diff --git a/poppler/Annot.cc b/poppler/Annot.cc
index 668f7ff..45579cc 100644
--- a/poppler/Annot.cc
+++ b/poppler/Annot.cc
@@ -948,7 +948,7 @@ void Annot::generateFieldAppearance(Dict *field, Dict *annot, Dict *acroForm) {
   GBool modified;
 
   // must be a Widget annotation
-  if (type == typeWidget) {
+  if (type != typeWidget) {
     return;
   }
 


More information about the poppler mailing list