1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

#18051: Fix indentation issues introduced during clean up

This commit is contained in:
Xavier Cho
2018-04-17 07:53:27 +09:00
parent e59fad3924
commit 6b611e6431
6 changed files with 16 additions and 16 deletions

View File

@@ -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)
{