mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
upd
This commit is contained in:
parent
185b0e5cbd
commit
78ceff54e7
2 changed files with 2 additions and 2 deletions
|
|
@ -292,7 +292,7 @@ function string.trim_left(s, char)
|
|||
return string.match(s, "^" .. char .. "*(.+)$") or s
|
||||
end
|
||||
|
||||
function string.padding(str, size, char)
|
||||
function string.pad(str, size, char)
|
||||
char = char == nil and " " or char
|
||||
|
||||
local padding = math.floor((size - #str) / 2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue