Added a couple misc commands and fixed some bugs. #44

Merged
That-One-Nerd merged 4 commits from misc-commands into main 2023-04-01 20:39:55 -04:00
Showing only changes of commit e8a5cbc846 - Show all commits

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;
}