Gerald Pfeifer : winefile: Remove redundant check in format_bytes().
Alexandre Julliard
julliard at winehq.org
Wed Oct 16 14:25:50 CDT 2013
Module: wine
Branch: master
Commit: f0392519916fb12f807a8e20299b426e6d43f866
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f0392519916fb12f807a8e20299b426e6d43f866
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Tue Oct 15 22:34:59 2013 +0200
winefile: Remove redundant check in format_bytes().
---
programs/winefile/winefile.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/winefile/winefile.c b/programs/winefile/winefile.c
index 3b30255..4729436 100644
--- a/programs/winefile/winefile.c
+++ b/programs/winefile/winefile.c
@@ -2658,7 +2658,7 @@ static void format_bytes(LPWSTR buffer, LONGLONG bytes)
fBytes = ((float)bytes)/1048576.f+.5f;
resid = IDS_UNIT_MB;
}
- else if (bytes >= 1024) /* 1 kB */
+ else /* bytes >= 1024 */ /* 1 kB */
{
fBytes = ((float)bytes)/1024.f+.5f;
resid = IDS_UNIT_KB;
More information about the wine-cvs
mailing list