diff options
author | Ignacio Etcheverry <neikeq@users.noreply.github.com> | 2018-05-21 16:57:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-21 16:57:41 +0200 |
commit | 689290d71b2ae52c8b00e444097d797c60872356 (patch) | |
tree | f29b47bcfd1b6e833addce6dcea620668c273992 /modules/mono/glue | |
parent | 8289ff5fb363d1976589f8102af39c4fa88fe628 (diff) | |
parent | c7e98eef67639d6ba66fae80d2d691e1a8af79d4 (diff) |
Merge pull request #19077 from KellyThomas/fix-string-extension
mono: Fix index out of range error in string.Extension()
Diffstat (limited to 'modules/mono/glue')
-rw-r--r-- | modules/mono/glue/cs_files/StringExtensions.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/glue/cs_files/StringExtensions.cs b/modules/mono/glue/cs_files/StringExtensions.cs index 21090fb68d..eaeed7b37b 100644 --- a/modules/mono/glue/cs_files/StringExtensions.cs +++ b/modules/mono/glue/cs_files/StringExtensions.cs @@ -225,7 +225,7 @@ namespace Godot if (pos < 0) return instance; - return instance.Substring(pos + 1, instance.Length); + return instance.Substring(pos + 1); } // <summary> |