missing division to show kb
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5177 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
d748e470d8
commit
7f9517d542
1 changed files with 2 additions and 2 deletions
|
@ -525,9 +525,9 @@ __declspec(dllexport) void download (HWND parent,
|
||||||
|
|
||||||
wsprintf (buf,
|
wsprintf (buf,
|
||||||
szProgress, //%dkB (%d%%) of %dkB @ %d.%01dkB/s
|
szProgress, //%dkB (%d%%) of %dkB @ %d.%01dkB/s
|
||||||
int(sofar),
|
int(sofar/1024),
|
||||||
MulDiv64(100, sofar, cl),
|
MulDiv64(100, sofar, cl),
|
||||||
int(cl),
|
int(cl/1024),
|
||||||
bps/1024,((bps*10)/1024)%10
|
bps/1024,((bps*10)/1024)%10
|
||||||
);
|
);
|
||||||
if (remain) wsprintf(buf+lstrlen(buf),szRemaining,
|
if (remain) wsprintf(buf+lstrlen(buf),szRemaining,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue