Oh look, another one liner. Fixed #34

This commit is contained in:
That_One_Nerd 2023-04-01 15:22:38 -04:00
parent 4c919a152c
commit e8a5cbc846

View File

@ -159,7 +159,7 @@ public static class BaseModule
FileInfo info = new(f);
if (f.Length > longestName) longestName = f.Trim().Length;
int size = Mathf.Ceiling(MathF.Log10(info.Length));
int size = Mathf.Ceiling(info.Length.ToString().Length);
if (longestSize > size) longestSize = size;
}