From 2ddcc7155a0778ab994b807f6b622a1ecb1e4db5 Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Thu, 26 Oct 2017 20:54:32 +0200 Subject: [PATCH] [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 --- frontend/apps/reader/modules/readerdictionary.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/apps/reader/modules/readerdictionary.lua b/frontend/apps/reader/modules/readerdictionary.lua index 464a5a100..027095a4d 100644 --- a/frontend/apps/reader/modules/readerdictionary.lua +++ b/frontend/apps/reader/modules/readerdictionary.lua @@ -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