diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp b/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp index f5ada7c6eb..db0e8b19e1 100644 --- a/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp +++ b/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp @@ -926,17 +926,10 @@ FX_BOOL CPDF_Parser::RebuildCrossRef() { } break; case 11: - if (byte == '<' && inside_index == 1) { - status = 12; - } else if (byte == '>') { + if (byte == '>' || (byte == '<' && inside_index == 1)) status = 0; - } inside_index = 0; break; - case 12: - --i; - status = 0; - break; case 13: if (PDFCharIsDelimiter(byte) || PDFCharIsWhitespace(byte)) { --i; |