aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-10-29 16:19:41 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-10-29 16:19:41 +0000
commita7d27ad0efc0cd4f23e88b3879e2b90107752fdc (patch)
treeaae10cde9479dac0f092835ac552670ebd76f907
parentAdd some platforms. (diff)
downloadw3m-a7d27ad0efc0cd4f23e88b3879e2b90107752fdc.tar.gz
w3m-a7d27ad0efc0cd4f23e88b3879e2b90107752fdc.zip
[w3m-dev 03354] display current line number
* display.c (displayBuffer): %3d -> %d From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--ChangeLog7
-rw-r--r--display.c4
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index a3f2de9..4a0862d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-30 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+
+ * [w3m-dev 03354] display current line number
+ * display.c (displayBuffer): %3d -> %d
+
2002-10-29 Fumitoshi UKAI <ukai@debian.or.jp>
* 0.3.2 release candidate 3
@@ -4025,4 +4030,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.456 2002/10/28 17:12:34 ukai Exp $
+$Id: ChangeLog,v 1.457 2002/10/29 16:19:41 ukai Exp $
diff --git a/display.c b/display.c
index c50cb74..d9924f5 100644
--- a/display.c
+++ b/display.c
@@ -1,4 +1,4 @@
-/* $Id: display.c,v 1.24 2002/10/26 08:10:43 ukai Exp $ */
+/* $Id: display.c,v 1.25 2002/10/29 16:19:41 ukai Exp $ */
#include <signal.h>
#include "fm.h"
@@ -322,7 +322,7 @@ displayBuffer(Buffer *buf, int mode)
int cl = buf->currentLine->real_linenumber;
int ll = buf->lastLine->real_linenumber;
int r = (int)((double)cl * 100.0 / (double)ll + 0.5);
- Strcat(msg, Sprintf("%d/%d (%3d%%)", cl, ll, r));
+ Strcat(msg, Sprintf("%d/%d (%d%%)", cl, ll, r));
}
else
Strcat_charp(msg, "Viewing");