[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
This commit is contained in:
Frans de Jonge
2017-10-26 20:54:32 +02:00
committed by GitHub
parent 8bc2b8d5f5
commit 2ddcc7155a

View File

@@ -427,7 +427,7 @@ function ReaderDictionary:stardictLookup(word, box, link)
return
end
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
if lookup_cancelled then
break -- don't do any more lookup on additional dict_dirs