aboutsummaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--ChangeLog7
-rw-r--r--file.c3
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d8c6f44..720035b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-03-09 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
+
+ * [w3m-dev 03092] Reload image
+ * file.c (loadImageBuffer): cache->index = 0
+
2002-03-09 Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03093] Re: gopher broken
@@ -3090,4 +3095,4 @@
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.338 2002/03/08 15:59:25 ukai Exp $
+$Id: ChangeLog,v 1.339 2002/03/08 16:02:51 ukai Exp $
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: