mirror of
https://github.com/akaAgar/the-universal-mission-for-dcs-world.git
synced 2025-11-25 19:31:01 +00:00
Fixed bug in DCSEx.string.firstToUpper
This commit is contained in:
parent
f9ce72f9ae
commit
be154c3540
@ -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
|
||||
|
||||
-------------------------------------
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user