| Index: core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp
|
| diff --git a/core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp b/core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp
|
| index 6e20b582fc4b4233ed068d949392494638a8b364..18ffaa6bffc58a645f035830ba23e5ca99c8eedc 100644
|
| --- a/core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp
|
| +++ b/core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp
|
| @@ -8,7 +8,7 @@
|
| #include "core/include/fxcrt/fx_ext.h"
|
|
|
| // Indexed by 8-bit character code, contains either:
|
| -// 'W' - for whitespace: NUL, TAB, CR, LF, FF, 0x80, 0xff
|
| +// 'W' - for whitespace: NUL, TAB, CR, LF, FF, SPACE, 0x80, 0xff
|
| // 'N' - for numeric: 0123456789+-.
|
| // 'D' - for delimiter: %()/<>[]{}
|
| // 'R' - otherwise.
|
| @@ -59,9 +59,6 @@ const char PDF_CharType[256] = {
|
| 'R', 'R', 'R', 'R', 'R', 'R', 'R', 'R', 'R', 'R', 'R', 'R', 'R', 'R', 'R',
|
| 'R', 'R', 'R', 'R', 'R', 'R', 'R', 'W'};
|
|
|
| -#ifndef MAX_PATH
|
| -#define MAX_PATH 4096
|
| -#endif
|
| CPDF_SimpleParser::CPDF_SimpleParser(const uint8_t* pData, FX_DWORD dwSize) {
|
| m_pData = pData;
|
| m_dwSize = dwSize;
|
|
|