Commit 681a3b7
committed
Fix logical error in postprocess_results()
The intention was to return no more than MAX_RESULTS, not to always
return that much.
This resulted in returning bogus empty strings in case of no matches and
consequent pre-translation matching with empty fuzzy strings.
Fixes ec6f6df.1 parent d3c25a4 commit 681a3b7
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
368 | | - | |
| 368 | + | |
| 369 | + | |
369 | 370 | | |
370 | 371 | | |
371 | 372 | | |
| |||
0 commit comments