commit fd0fd0ad27cfd43d2041dd0842fd9cf4b0bd841b
parent 2e45ff98c9b00a9366589c92f841b68d50125f93
Author: ukai <ukai>
Date: Tue, 28 Jan 2003 16:42:02 +0000
fix indent
Diffstat:
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/buffer.c b/buffer.c
@@ -573,7 +573,7 @@ reshapeBuffer(Buffer *buf)
if (n) {
buf->topLine = lineSkip(buf, buf->topLine, n, FALSE);
if (cur->real_linenumber > 0)
- gotoRealLine(buf, cur->real_linenumber);
+ gotoRealLine(buf, cur->real_linenumber);
else
gotoLine(buf, cur->linenumber);
}
diff --git a/image.c b/image.c
@@ -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;