Skip to content

Commit 765a537

Browse files
committed
Cleanup.
1 parent 7bcc0ac commit 765a537

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/BedrockUpdater.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<OutputType>WinExe</OutputType>
3+
<OutputType>Exe</OutputType>
44
<TargetFramework>net481</TargetFramework>
55
<UseWindowsForms>true</UseWindowsForms>
66
<UseWPF>true</UseWPF>

src/MainWindow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ enum Units { B, KB, MB, GB }
1616
static string Format(float bytes)
1717
{
1818
int index = 0;
19-
while (bytes >= 1024f) { bytes /= 1024f; ++index; }
19+
while (bytes >= 1024f) { bytes /= 1024f; index++; }
2020
return string.Format($"{bytes:0.00} {(Units)index}");
2121
}
2222

0 commit comments

Comments
 (0)