fix indent
This commit is contained in:
4
buffer.c
4
buffer.c
@@ -1,4 +1,4 @@
|
|||||||
/* $Id: buffer.c,v 1.25 2003/01/28 16:41:03 ukai Exp $ */
|
/* $Id: buffer.c,v 1.26 2003/01/28 16:42:02 ukai Exp $ */
|
||||||
#include "fm.h"
|
#include "fm.h"
|
||||||
|
|
||||||
#ifdef USE_MOUSE
|
#ifdef USE_MOUSE
|
||||||
@@ -573,7 +573,7 @@ reshapeBuffer(Buffer *buf)
|
|||||||
if (n) {
|
if (n) {
|
||||||
buf->topLine = lineSkip(buf, buf->topLine, n, FALSE);
|
buf->topLine = lineSkip(buf, buf->topLine, n, FALSE);
|
||||||
if (cur->real_linenumber > 0)
|
if (cur->real_linenumber > 0)
|
||||||
gotoRealLine(buf, cur->real_linenumber);
|
gotoRealLine(buf, cur->real_linenumber);
|
||||||
else
|
else
|
||||||
gotoLine(buf, cur->linenumber);
|
gotoLine(buf, cur->linenumber);
|
||||||
}
|
}
|
||||||
|
10
image.c
10
image.c
@@ -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 "fm.h"
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@@ -335,8 +335,12 @@ loadImage(int flag)
|
|||||||
bzero(image_cache, sizeof(ImageCache *) * MAX_LOAD_IMAGE);
|
bzero(image_cache, sizeof(ImageCache *) * MAX_LOAD_IMAGE);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (flag == IMG_FLAG_STOP) {
|
if (flag == IMG_FLAG_STOP || flag == IMG_FLAG_START) {
|
||||||
for (i = 0; i < n_load_image; i++) {
|
if (flag == IMG_FLAG_STOP)
|
||||||
|
i = 0;
|
||||||
|
else
|
||||||
|
i = maxLoadImage;
|
||||||
|
for (; i < n_load_image; i++) {
|
||||||
cache = image_cache[i];
|
cache = image_cache[i];
|
||||||
if (!cache)
|
if (!cache)
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user