aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-03-06 14:30:19 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-03-06 14:30:19 +0000
commit8b864dcab92cfb110aab29f98a900cb86066a40e (patch)
treeb08a054def9e514cb7108bce7d9d84451abce89c /main.c
parentfix indent (diff)
downloadw3m-8b864dcab92cfb110aab29f98a900cb86066a40e.tar.gz
w3m-8b864dcab92cfb110aab29f98a900cb86066a40e.zip
[w3m-dev 03794] displayBuffer() when CurrentTab == NULL.
* display.c (displayBuffer): check buf * linein.c (inputLineHistSearch): check CurrentTab (next_dcompl): check CurrentTab (_editor): check CurrentTab * main.c (resize_screen): check CurrentTab From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 01fac65..a7822a1 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.217 2003/03/05 18:56:28 ukai Exp $ */
+/* $Id: main.c,v 1.218 2003/03/06 14:30:27 ukai Exp $ */
#define MAINPROGRAM
#include "fm.h"
#include <signal.h>
@@ -1375,7 +1375,7 @@ resize_screen(void)
{
setlinescols();
setupscreen();
- if (Currentbuf)
+ if (CurrentTab)
displayBuffer(Currentbuf, B_FORCE_REDRAW);
}
#endif /* SIGWINCH */