mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
Make to_title work correctly; patch thanks to Shiv2503.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1440 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -266,7 +266,7 @@ SCRIPT_FUNCTION(to_lower) {
|
||||
// convert a string to title case
|
||||
SCRIPT_FUNCTION(to_title) {
|
||||
SCRIPT_PARAM_C(String, input);
|
||||
SCRIPT_RETURN(capitalize(input));
|
||||
SCRIPT_RETURN(capitalize(input.Lower()));
|
||||
}
|
||||
|
||||
// reverse a string
|
||||
|
||||
Reference in New Issue
Block a user