Fixed bug in DCSEx.string.firstToUpper

This commit is contained in:
Ambroise Garel 2025-07-25 09:22:01 +02:00
parent f9ce72f9ae
commit be154c3540

View File

@ -16,7 +16,7 @@ DCSEx.string = {}
-- @return A string, with the first letter cast to upper case
-------------------------------------
function DCSEx.string.firstToUpper(str)
return (str:gsub("^%l", DCSEx.string.upper))
return (str:gsub("^%l", string.upper))
end
-------------------------------------