[fix] Dictionary no fuzzy search flag (#3433)

Upstream uses `-e` rather than the `-f` that was first introduced in our fork.

References https://github.com/koreader/koreader/issues/3429#issuecomment-339749396
pull/3437/head
Frans de Jonge 7 years ago committed by GitHub
parent 8bc2b8d5f5
commit 2ddcc7155a

@ -427,7 +427,7 @@ function ReaderDictionary:stardictLookup(word, box, link)
return return
end end
local lookup_cancelled = false local lookup_cancelled = false
local common_options = self.disable_fuzzy_search and "-njf" or "-nj" local common_options = self.disable_fuzzy_search and "-nje" or "-nj"
for _, dict_dir in ipairs(dict_dirs) do for _, dict_dir in ipairs(dict_dirs) do
if lookup_cancelled then if lookup_cancelled then
break -- don't do any more lookup on additional dict_dirs break -- don't do any more lookup on additional dict_dirs

Loading…
Cancel
Save