소스 검색

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

mono: Fix index out of range error in string.Extension()
Ignacio Etcheverry 7 년 전
부모
커밋
689290d71b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules/mono/glue/cs_files/StringExtensions.cs

+ 1 - 1
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>