Fix index out of range error in string.Extension()

(cherry picked from commit c7e98eef67)
This commit is contained in:
Kelly Thomas 2018-05-21 18:45:48 +08:00 committed by Hein-Pieter van Braam
parent 31ce9ba07f
commit 6224f02c56
1 changed files with 1 additions and 1 deletions

View File

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