Мини-фикс

This commit is contained in:
Igor Timofeev
2017-01-25 09:47:50 +03:00
parent 3aa04954a9
commit ba64c21ee0
2 changed files with 2 additions and 2 deletions

View File

@@ -187,7 +187,7 @@ local function getAutocompleteDatabaseMatches(stringToSearch)
local matches = {}
for word in pairs(autocompleteDatabase) do
if word ~= str then
if word ~= stringToSearch then
local match = word:match("^" .. stringToSearch)
if match then
table.insert(matches, { word, match })