Skip to content

Commit

Permalink
fix(bridge): set lookup to use exact search
Browse files Browse the repository at this point in the history
  • Loading branch information
Nickersoft committed Feb 19, 2021
1 parent d24ab2b commit 2c783e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridge/odict-bridging-lib.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func IndexDictionary(path *C.char, force bool) {
func LookupEntry(term, dictionaryID *C.char) *C.char {
q := C.GoString(term)
id := C.GoString(dictionaryID)
result := odict.SearchDictionary(id, q, false)
result := odict.SearchDictionary(id, q, true)

if len(result) > 0 {
r := result[0]
Expand Down

0 comments on commit 2c783e2

Please sign in to comment.