aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-12-18 16:33:19 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-12-18 16:33:19 +0000
commit22fc4c640a30f5ffe44cc76e0e5f50eb7f8412a3 (patch)
tree520a1a65c026780156504301fd0e7e475ff1fb12 /main.c
parent* main.c (DefaultAlarm): fix initialize value (diff)
downloadw3m-22fc4c640a30f5ffe44cc76e0e5f50eb7f8412a3.tar.gz
w3m-22fc4c640a30f5ffe44cc76e0e5f50eb7f8412a3.zip
[w3m-dev 03579] Re: clean up displayBuffer()
* display.c (displayBuffer): re calcTabPos() when force or image redraw * main.c (_mark): force redraw (reinit): redraw image * search.c (backwardSearch): found_last From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index d163cee..b9870e0 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.172 2002/12/18 16:25:47 ukai Exp $ */
+/* $Id: main.c,v 1.173 2002/12/18 16:33:19 ukai Exp $ */
#define MAINPROGRAM
#include "fm.h"
#include <signal.h>
@@ -2543,7 +2543,7 @@ _mark(void)
return;
l = Currentbuf->currentLine;
l->propBuf[Currentbuf->pos] ^= PE_MARK;
- displayBuffer(Currentbuf, B_NORMAL);
+ displayBuffer(Currentbuf, B_FORCE_REDRAW);
}
/* Go to next mark */
@@ -5609,7 +5609,7 @@ reinit()
#ifdef USE_MOUSE
if (!strcasecmp(resource, "MOUSE")) {
initMouseAction();
- displayBuffer(Currentbuf, B_NORMAL);
+ displayBuffer(Currentbuf, B_REDRAW_IMAGE);
return;
}
#endif