commit b5dc327a6a19ae4612ac1e0470c6d324f9460ee0
parent 8ac42b29e9e309ee694a777c35e055f0f836afa4
Author: ukai <ukai>
Date: Fri, 8 Mar 2002 16:02:51 +0000
[w3m-dev 03092] Reload image
* file.c (loadImageBuffer): cache->index = 0
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat:
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git 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
diff --git a/file.c b/file.c
@@ -6453,6 +6453,7 @@ loadImageBuffer(URLFile *uf, Buffer *newBuf)
signal(SIGINT, prevtrap);
cache->loaded = IMG_FLAG_LOADED;
+ cache->index = 0;
getImageSize(cache);
image_buffer: