aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-03-08 16:02:51 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-03-08 16:02:51 +0000
commitc65469f28b355049dd9bfe67e555c303475caaec (patch)
tree24d6d00c4092ad56970e797db831f4892450f92a /file.c
parent[w3m-dev 03093] Re: gopher broken (diff)
downloadw3m-c65469f28b355049dd9bfe67e555c303475caaec.tar.gz
w3m-c65469f28b355049dd9bfe67e555c303475caaec.zip
[w3m-dev 03092] Reload image
* file.c (loadImageBuffer): cache->index = 0 From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/file.c b/file.c
index 1dc4419..a4e1376 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.77 2002/03/08 15:59:25 ukai Exp $ */
+/* $Id: file.c,v 1.78 2002/03/08 16:02:51 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -6453,6 +6453,7 @@ loadImageBuffer(URLFile *uf, Buffer *newBuf)
signal(SIGINT, prevtrap);
cache->loaded = IMG_FLAG_LOADED;
+ cache->index = 0;
getImageSize(cache);
image_buffer: