aboutsummaryrefslogtreecommitdiffstats
path: root/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--buffer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/buffer.c b/buffer.c
index 8569f1f..88a6e14 100644
--- a/buffer.c
+++ b/buffer.c
@@ -1,4 +1,4 @@
-/* $Id: buffer.c,v 1.7 2001/11/29 09:34:14 ukai Exp $ */
+/* $Id: buffer.c,v 1.8 2001/12/04 16:33:08 ukai Exp $ */
#include "fm.h"
#ifdef USE_MOUSE
@@ -240,14 +240,14 @@ gotoLine(Buffer *buf, int n)
}
if (l->linenumber > n) {
sprintf(msg, "First line is #%ld", l->linenumber);
- disp_message(msg, FALSE);
+ set_delayed_message(msg);
buf->topLine = buf->currentLine = l;
return;
}
if (buf->lastLine->linenumber < n) {
l = buf->lastLine;
sprintf(msg, "Last line is #%ld", buf->lastLine->linenumber);
- disp_message(msg, FALSE);
+ set_delayed_message(msg);
buf->currentLine = l;
buf->topLine = lineSkip(buf, buf->currentLine, -(LASTLINE - 1), FALSE);
return;
@@ -282,14 +282,14 @@ gotoRealLine(Buffer *buf, int n)
}
if (l->real_linenumber > n) {
sprintf(msg, "First line is #%ld", l->real_linenumber);
- disp_message(msg, FALSE);
+ set_delayed_message(msg);
buf->topLine = buf->currentLine = l;
return;
}
if (buf->lastLine->real_linenumber < n) {
l = buf->lastLine;
sprintf(msg, "Last line is #%ld", buf->lastLine->real_linenumber);
- disp_message(msg, FALSE);
+ set_delayed_message(msg);
buf->currentLine = l;
buf->topLine = lineSkip(buf, buf->currentLine, -(LASTLINE - 1), FALSE);
return;