X-Git-Url: http://git.dolda2000.com/gitweb/?p=doldaconnect.git;a=blobdiff_plain;f=clients%2Fgui-shell%2Fdsh.c;h=332e0df265204e748978f9734cef963d3d30942b;hp=48d67e91728c42a17f655226b94dc6d86d06769e;hb=2c16e7a55f80f0fc8e33af6f932dfe3ff6306688;hpb=f782eb973d16b411ff67a743829d16cbd51427b4 diff --git a/clients/gui-shell/dsh.c b/clients/gui-shell/dsh.c index 48d67e9..332e0df 100644 --- 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);