diff options
-rw-r--r-- | chromium/third_party/hunspell/google/bdict_reader.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/third_party/hunspell/google/bdict_reader.cc b/chromium/third_party/hunspell/google/bdict_reader.cc index 358a8e2624e..de5158076b3 100644 --- a/chromium/third_party/hunspell/google/bdict_reader.cc +++ b/chromium/third_party/hunspell/google/bdict_reader.cc @@ -76,7 +76,7 @@ class NodeReader { // additional affix IDs following the node when leaf_has_following is set, // but this will not handle those. inline int affix_id_for_leaf() const { - if (node_offset_ >= bdict_length_ - 2) { + if (node_offset_ >= bdict_length_ - 1) { is_valid_ = false; return 0; } |