aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-11-06 03:19:30 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-11-06 03:19:30 +0000
commit8503b2be4e94c8d0ca8718c3cc1b1fd1ff8789ad (patch)
treea29f3a7fa8332969c288c57b7e57d6b9c7151b62 /file.c
parentadd TODO (diff)
downloadw3m-8503b2be4e94c8d0ca8718c3cc1b1fd1ff8789ad.tar.gz
w3m-8503b2be4e94c8d0ca8718c3cc1b1fd1ff8789ad.zip
[w3m-dev 03375] NULL check of CurrentTab
* display.c (disp_message_nsec): check CurrentTab * file.c (doExternal): check CurrentTab * image.c (loadImage): check CurrentTab From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'file.c')
-rw-r--r--file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/file.c b/file.c
index 94fac59..4c49564 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.111 2002/11/05 17:10:05 ukai Exp $ */
+/* $Id: file.c,v 1.112 2002/11/06 03:19:30 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -7113,7 +7113,7 @@ doExternal(URLFile uf, char *path, char *type, Buffer **bufp,
fmTerm();
mySystem(command->ptr, 0);
fmInit();
- if (Currentbuf)
+ if (CurrentTab && Currentbuf)
displayBuffer(Currentbuf, B_FORCE_REDRAW);
}
else {