[poppler] poppler/Annot.cc

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jan 31 22:15:22 UTC 2022


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

New commits:
commit a06839fe32b95af3caa5479218d80d705d8d78a5
Author: Albert Astals Cid <aacid at kde.org>
Date:   Mon Jan 31 21:38:42 2022 +0100

    AnnotAppearanceCharacs: Also initialize position when !dict

diff --git a/poppler/Annot.cc b/poppler/Annot.cc
index 8596e54e..bf7bb3bb 100644
--- a/poppler/Annot.cc
+++ b/poppler/Annot.cc
@@ -1104,6 +1104,7 @@ AnnotAppearanceCharacs::AnnotAppearanceCharacs(Dict *dict)
 
     if (!dict) {
         rotation = 0;
+        position = captionNoIcon;
         return;
     }
 


More information about the poppler mailing list