diff --git a/reactos/subsys/system/winefile/winefile.c b/reactos/subsys/system/winefile/winefile.c index 516f0a158ff..d9897c44990 100644 --- a/reactos/subsys/system/winefile/winefile.c +++ b/reactos/subsys/system/winefile/winefile.c @@ -2454,12 +2454,12 @@ static void format_bytes(LPTSTR buffer, LONGLONG bytes) float fBytes = (float)bytes; - if (bytes >= 1073741824) // 1 GB + if (bytes >= 1073741824) /* 1 GB */ _stprintf(buffer, sFmtGB, fBytes/1073741824.f+.5f); - else if (bytes >= 1048576) // 1 MB + else if (bytes >= 1048576) /* 1 MB */ _stprintf(buffer, sFmtMB, fBytes/1048576.f+.5f); - else if (bytes >= 1024) // 1 kB - _stprintf(buffer, sFmtMB, fBytes/1024.f+.5f); + else if (bytes >= 1024) /* 1 kB */ + _stprintf(buffer, sFmtkB, fBytes/1024.f+.5f); else _stprintf(buffer, sLongNumFmt, bytes); }