aboutsummaryrefslogtreecommitdiffstats
path: root/display.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--display.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/display.c b/display.c
index f8c02bc..97eec10 100644
--- a/display.c
+++ b/display.c
@@ -1,4 +1,4 @@
-/* $Id: display.c,v 1.47 2002/12/14 15:26:44 ukai Exp $ */
+/* $Id: display.c,v 1.48 2002/12/18 16:33:19 ukai Exp $ */
#include <signal.h>
#include "fm.h"
@@ -385,6 +385,8 @@ displayBuffer(Buffer *buf, int mode)
|| mouse_action.menu_str
#endif
) {
+ if (mode == B_FORCE_REDRAW || mode == B_REDRAW_IMAGE)
+ calcTabPos();
ny = LastTab->y + 2;
if (ny > LASTLINE)
ny = LASTLINE;
@@ -578,7 +580,6 @@ redrawNLine(Buffer *buf, int n)
TabBuffer *t;
int l;
- calcTabPos();
move(0, 0);
#ifdef USE_MOUSE
if (mouse_action.menu_str)