Dolda2000 GitWeb
/
doldaconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f782eb9
)
Fix format buf in dsh.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Fri, 31 Aug 2007 01:41:06 +0000
(
03:41
+0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Fri, 31 Aug 2007 01:41:06 +0000
(
03:41
+0200)
clients/gui-shell/dsh.c
patch
|
blob
|
blame
|
history
diff --git
a/clients/gui-shell/dsh.c
b/clients/gui-shell/dsh.c
index
48d67e9
..
332e0df
100644
(file)
--- a/
clients/gui-shell/dsh.c
+++ b/
clients/gui-shell/dsh.c
@@
-233,7
+233,7
@@
void updatetooltip(void)
if(t > 0)
bprintf(buf, " (%i/%i)", i, a);
if(bt > 0)
- bprintf(buf, ", %.1f%%", (
double)bc / (double)bt
);
+ bprintf(buf, ", %.1f%%", (
(double)bc / (double)bt) * 100.0
);
if(st != -1)
bprintf(buf, ", %s/s", bytes2si(st));
addtobuf(buf, 0);