aboutsummaryrefslogtreecommitdiffstats
path: root/display.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--display.c4
1 files changed, 2 insertions, 2 deletions
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");