1
0
mirror of synced 2024-09-24 19:48:21 +02:00

Some fixes to hash calculator

This commit is contained in:
KillzXGaming 2019-11-06 20:06:22 -05:00
parent c1d25c8372
commit 92e535948e

View File

@ -143,7 +143,12 @@ namespace Toolbox
if (hashes.Count == 0)
{
progressBar.Close();
if (progressBar.InvokeRequired)
{
progressBar.Invoke((MethodInvoker)delegate {
progressBar.Close();
});
}
return;
}
}
@ -154,6 +159,11 @@ namespace Toolbox
// Add one: aaa -> aab -> ... aaz -> aba -> ... -> zzz
for (int i = length - 1; i >= 0; --i)
if (Sb[i] == ' ')
{
Sb[i] = '/';
break;
}
else if (Sb[i] == '/')
{
if (UseUppercase)
Sb[i] = 'A';