Skip to content

Commit d8f6a57

Browse files
committed
utf8.lower instead of string.lower
1 parent 1b42a0e commit d8f6a57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

[editor]/editor_gui/client/load.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function openSearch()
7676
end
7777
else
7878
for i,res in ipairs(openResources) do
79-
if utf8.find(string.lower(res["friendlyName"]), string.lower(text), 1, true) then
79+
if utf8.find(utf8.lower(res["friendlyName"]), utf8.lower(text), 1, true) then
8080
local row = guiGridListAddRow ( loadDialog.mapsList )
8181
guiGridListSetItemText ( loadDialog.mapsList, row, 1, res["friendlyName"], false, false )
8282
guiGridListSetItemText ( loadDialog.mapsList, row, 2, res["gamemodes"], false, false )

0 commit comments

Comments
 (0)