summaryrefslogtreecommitdiff
path: root/modules/mono/glue/cs_files/StringExtensions.cs
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mono/glue/cs_files/StringExtensions.cs')
-rw-r--r--modules/mono/glue/cs_files/StringExtensions.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/mono/glue/cs_files/StringExtensions.cs b/modules/mono/glue/cs_files/StringExtensions.cs
index ef81769912..21090fb68d 100644
--- a/modules/mono/glue/cs_files/StringExtensions.cs
+++ b/modules/mono/glue/cs_files/StringExtensions.cs
@@ -141,12 +141,12 @@ namespace Godot
// </summary>
public static string Capitalize(this string instance)
{
- string aux = instance.Replace("_", " ").ToLower();
+ string aux = instance.Replace("_", " ").ToLower();
var cap = string.Empty;
for (int i = 0; i < aux.GetSliceCount(" "); i++)
{
- string slice = aux.GetSlicec(' ', i);
+ string slice = aux.GetSlicec(' ', i);
if (slice.Length > 0)
{
slice = char.ToUpper(slice[0]) + slice.Substring(1);
@@ -842,8 +842,8 @@ namespace Godot
public static float[] SplitFloats(this string instance, string divisor, bool allow_empty = true)
{
var ret = new List<float>();
- int from = 0;
- int len = instance.Length;
+ int from = 0;
+ int len = instance.Length;
while (true)
{