Merge pull request #19077 from KellyThomas/fix-string-extension

mono: Fix index out of range error in string.Extension()
This commit is contained in:
Ignacio Etcheverry 2018-05-21 16:57:41 +02:00 committed by GitHub
commit 689290d71b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ namespace Godot
if (pos < 0)
return instance;
return instance.Substring(pos + 1, instance.Length);
return instance.Substring(pos + 1);
}
// <summary>