aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-05-06 16:35:36 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-05-06 16:35:36 +0000
commitde7364703977d8889a4918665c771eddba462a9f (patch)
treef47bc3c958df9d7eada910eeb5713114005b2e1e
parent[w3m-dev 03888] autodetect ssl (diff)
downloadw3m-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 '')
-rw-r--r--ChangeLog7
-rw-r--r--main.c4
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 4ae0b28..da317c0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-05-07 Hiroyuki Ito <hito@crl.go.jp>
+
+ * [w3m-dev 03889] Progress bar in Download List Panel
+ * main.c (DownloadListBuffer): calculation in double
+
2003-05-07 SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp>
* [w3m-dev 03888] autodetect ssl
@@ -7786,4 +7791,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.831 2003/05/06 16:24:48 ukai Exp $
+$Id: ChangeLog,v 1.832 2003/05/06 16:35:36 ukai Exp $
diff --git a/main.c b/main.c
index efa2284..00a0764 100644
--- a/main.c
+++ b/main.c
@@ -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;