[poppler] poppler/TextOutputDev.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Thu Jul 31 11:22:54 PDT 2008
poppler/TextOutputDev.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f5b0ca794b0879e3d239bf1d6138b15ead27d9ca
Author: Adrian Johnson <ajohnson at redneon.com>
Date: Tue Jul 29 20:18:33 2008 +0930
Fix ActualText string length check in TextOutputDev.cc
diff --git a/poppler/TextOutputDev.cc b/poppler/TextOutputDev.cc
index 97f4f3f..c3d7bb3 100644
--- a/poppler/TextOutputDev.cc
+++ b/poppler/TextOutputDev.cc
@@ -4631,7 +4631,7 @@ void TextOutputDev::endMarkedContent(GfxState *state)
length = actualText->getLength();
}
- if (length < 2)
+ if (length < 3)
length = 0;
else
length = length/2 - 1;
More information about the poppler
mailing list