diff options
Diffstat (limited to 'Build/source/libs/xpdf/xpdf/PSTokenizer.cc')
-rw-r--r-- | Build/source/libs/xpdf/xpdf/PSTokenizer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/libs/xpdf/xpdf/PSTokenizer.cc b/Build/source/libs/xpdf/xpdf/PSTokenizer.cc index a65c3241c0f..0ad37618563 100644 --- a/Build/source/libs/xpdf/xpdf/PSTokenizer.cc +++ b/Build/source/libs/xpdf/xpdf/PSTokenizer.cc @@ -95,7 +95,7 @@ GBool PSTokenizer::getToken(char *buf, int size, int *length) { } else if (c == '<') { while ((c = lookChar()) != EOF) { getChar(); - if (i < size - 1) { + if (i < size - 1 && specialChars[c] != 1) { buf[i++] = c; } if (c == '>') { |