diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-05-06 16:35:36 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-05-06 16:35:36 +0000 |
commit | de7364703977d8889a4918665c771eddba462a9f (patch) | |
tree | f47bc3c958df9d7eada910eeb5713114005b2e1e /main.c | |
parent | [w3m-dev 03888] autodetect ssl (diff) | |
download | w3m-de7364703977d8889a4918665c771eddba462a9f.tar.gz w3m-de7364703977d8889a4918665c771eddba462a9f.zip |
[w3m-dev 03889] Progress bar in Download List Panel
* main.c (DownloadListBuffer): calculation in double
From: Hiroyuki Ito <hito@crl.go.jp>
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.224 2003/05/02 15:49:59 ukai Exp $ */ +/* $Id: main.c,v 1.225 2003/05/06 16:35:36 ukai Exp $ */ #define MAINPROGRAM #include "fm.h" #include <signal.h> @@ -6202,7 +6202,7 @@ DownloadListBuffer(void) if (d->size) { int i, l = COLS - 6; if (size < d->size) - i = l * size / d->size; + i = 1.0 * l * size / d->size; else i = l; l -= i; |