diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-01-28 16:42:02 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-01-28 16:42:02 +0000 |
commit | e442c118b8590e3fb4b3b69aa51dc0022323fd6b (patch) | |
tree | 46a7a558224760aea9dc82d1104a001f0b693ffb /image.c | |
parent | [w3m-dev 03706] X-Image-URL: support, bug fix of reshapeBuffer() (diff) | |
download | w3m-e442c118b8590e3fb4b3b69aa51dc0022323fd6b.tar.gz w3m-e442c118b8590e3fb4b3b69aa51dc0022323fd6b.zip |
fix indent
Diffstat (limited to '')
-rw-r--r-- | image.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: image.c,v 1.27 2003/01/22 16:10:28 ukai Exp $ */ +/* $Id: image.c,v 1.29 2003/01/28 16:46:54 ukai Exp $ */ #include "fm.h" #include <sys/types.h> @@ -335,8 +335,12 @@ loadImage(int flag) bzero(image_cache, sizeof(ImageCache *) * MAX_LOAD_IMAGE); } - if (flag == IMG_FLAG_STOP) { - for (i = 0; i < n_load_image; i++) { + if (flag == IMG_FLAG_STOP || flag == IMG_FLAG_START) { + if (flag == IMG_FLAG_STOP) + i = 0; + else + i = maxLoadImage; + for (; i < n_load_image; i++) { cache = image_cache[i]; if (!cache) continue; |