diff options
author | Kelly Thomas <kelly.thomas@hotmail.com.au> | 2018-05-21 18:45:48 +0800 |
---|---|---|
committer | Kelly Thomas <kelly.thomas@hotmail.com.au> | 2018-05-21 18:48:53 +0800 |
commit | c7e98eef67639d6ba66fae80d2d691e1a8af79d4 (patch) | |
tree | 8a33a4ef0cdba58cb6d0194f069139cd1544296a /modules/mono | |
parent | 7de36f0517f82b3d149887cc6a8d38349d5f2358 (diff) |
Fix index out of range error in string.Extension()
Diffstat (limited to 'modules/mono')
-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> |