Closed mpeterv closed 9 years ago
Hello! This is just a small clean-up: since string.gsub can accept a table as the third argument, controlCharsTranslation can be passed to it directly, there is no need to wrap it in a function.
string.gsub
controlCharsTranslation
Neat. I didn't realize the third param could be used that way. Thanks!
Hello! This is just a small clean-up: since
string.gsub
can accept a table as the third argument,controlCharsTranslation
can be passed to it directly, there is no need to wrap it in a function.