diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-04 16:33:08 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-04 16:33:08 +0000 |
commit | 691bc6df988c57468494472ce34ee38cbb31d837 (patch) | |
tree | b9d96a0cb04f8d330d5cd39ac09ef9dcbdbaa8cb /buffer.c | |
parent | [w3m-dev 02615] (diff) | |
download | w3m-691bc6df988c57468494472ce34ee38cbb31d837.tar.gz w3m-691bc6df988c57468494472ce34ee38cbb31d837.zip |
[w3m-dev 02616]
From: Tsutomu Okada <okada@furuno.co.jp>
Diffstat (limited to '')
-rw-r--r-- | buffer.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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; |