w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit 9d5c1a5747ead953484abe48e96dbd3c029c78e8
parent 17e5613dca9c7d0c9fca011e46a7377d1f8812ca
Author: ukai <ukai>
Date:   Tue, 29 Oct 2002 16:19:41 +0000

[w3m-dev 03354] display current line number
* display.c (displayBuffer): %3d -> %d
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>

Diffstat:
MChangeLog | 5+++++
Mdisplay.c | 2+-
2 files changed, 6 insertions(+), 1 deletion(-)

diff --git 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 diff --git a/display.c b/display.c @@ -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");