Lines 141-147
Link Here
|
141 |
|
141 |
|
142 |
for (; dicts; dicts = dicts->next) { |
142 |
for (; dicts; dicts = dicts->next) { |
143 |
EnchantDict* dict = static_cast<EnchantDict*>(dicts->data); |
143 |
EnchantDict* dict = static_cast<EnchantDict*>(dicts->data); |
144 |
if (enchant_dict_check(dict, word.get(), wordLength)) { |
144 |
if (enchant_dict_check(dict, word.get(), bytes)) { |
145 |
*misspellingLocation = start; |
145 |
*misspellingLocation = start; |
146 |
*misspellingLength = wordLength; |
146 |
*misspellingLength = wordLength; |
147 |
} else { |
147 |
} else { |