search: modify a function to take a length as parameter instead of a word
Benno Schulenberg authored
When verifying that a match is a separate word (during spell checking),
instead of first copying out the word, then passing the word, and then
measuring its length, just pass its length straigtaway.
cc0a3d84