poppler/TextOutputDev.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f5b0ca794b0879e3d239bf1d6138b15ead27d9ca
Author: Adrian Johnson <[EMAIL PROTECTED]>
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;
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler