Fixed additional typos

Went through the source with VNNCC to correct as many found typos as possible

Co-Authored-By: VNC <52937757+VNNCC@users.noreply.github.com>
This commit is contained in:
W2.Wizard
2021-01-05 02:14:21 +01:00
parent f7c17d96ce
commit 4d8cc9aef7
22 changed files with 53 additions and 53 deletions

View File

@@ -75,14 +75,14 @@ namespace Flax.Stats
/// <summary>
/// Gets total amount of memory used by that node and all child nodes
/// </summary>
public long TotaSizeOnDisk
public long TotalSizeOnDisk
{
get
{
long result = SizeOnDisk;
for (int i = 0; i < Children.Length; i++)
{
result += Children[i].TotaSizeOnDisk;
result += Children[i].TotalSizeOnDisk;
}
return result;
}
@@ -153,15 +153,15 @@ namespace Flax.Stats
/// <summary>
/// Gets total amount of lines of code per language
/// </summary>
/// <param name="languge">Language</param>
/// <param name="language">Language</param>
/// <returns>Result amount of lines</returns>
public long GetTotalLinesOfCode(Languages languge)
public long GetTotalLinesOfCode(Languages language)
{
long result = 0;
result += LinesOfCode[(int)languge];
result += LinesOfCode[(int)language];
for (int i = 0; i < Children.Length; i++)
{
result += Children[i].GetTotalLinesOfCode(languge);
result += Children[i].GetTotalLinesOfCode(language);
}
return result;
}
@@ -270,9 +270,9 @@ namespace Flax.Stats
public void CleanupDirectories()
{
var chld = Children.ToList();
chld.RemoveAll(e => ignoredFolders.Contains(e.ShortName.ToLower()));
Children = chld.ToArray();
var child = Children.ToList();
child.RemoveAll(e => ignoredFolders.Contains(e.ShortName.ToLower()));
Children = child.ToArray();
foreach (var a in Children)
{