diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-03-06 14:30:19 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-03-06 14:30:19 +0000 |
commit | 8b864dcab92cfb110aab29f98a900cb86066a40e (patch) | |
tree | b08a054def9e514cb7108bce7d9d84451abce89c /main.c | |
parent | fix indent (diff) | |
download | w3m-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 '')
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ |