diff options
Diffstat (limited to 'display.c')
-rw-r--r-- | display.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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) |