aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-01-29 17:26:51 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-01-29 17:26:51 +0000
commitc3281c36583369cc7a076a957dd8d2767e657ff6 (patch)
tree430105380bdd0d2b5b63445f5d46dc26015fe17b
parent[w3m-dev 03708] Re: Don't stop loading image when moving to next page. (diff)
downloadw3m-c3281c36583369cc7a076a957dd8d2767e657ff6.tar.gz
w3m-c3281c36583369cc7a076a957dd8d2767e657ff6.zip
fix indent
Diffstat (limited to '')
-rw-r--r--file.c8
-rw-r--r--image.c36
2 files changed, 22 insertions, 22 deletions
diff --git a/file.c b/file.c
index 6625b28..6010179 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.211 2003/01/29 17:10:32 ukai Exp $ */
+/* $Id: file.c,v 1.212 2003/01/29 17:26:51 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -6615,12 +6615,12 @@ loadHTMLstream(URLFile *f, Buffer *newBuf, FILE * src, int internal)
if (htmlenv1.title)
newBuf->buffername = htmlenv1.title;
if (w3m_halfdump) {
- TRAP_OFF;
+ TRAP_OFF;
print_internal_information(&htmlenv1);
return;
}
if (w3m_backend) {
- TRAP_OFF;
+ TRAP_OFF;
print_internal_information(&htmlenv1);
backend_halfdump_buf = htmlenv1.buf;
return;
@@ -6650,7 +6650,7 @@ loadHTMLString(Str page)
newBuf = newBuffer(INIT_BUFFER_WIDTH);
if (SETJMP(AbortLoading) != 0) {
- TRAP_OFF;
+ TRAP_OFF;
discardBuffer(newBuf);
return NULL;
}
diff --git a/image.c b/image.c
index 7f2847c..8f369a6 100644
--- a/image.c
+++ b/image.c
@@ -1,4 +1,4 @@
-/* $Id: image.c,v 1.30 2003/01/29 17:10:40 ukai Exp $ */
+/* $Id: image.c,v 1.31 2003/01/29 17:26:52 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
@@ -344,13 +344,13 @@ loadImage(Buffer *buf, int flag)
continue;
if (cache->pid) {
kill(cache->pid, SIGKILL);
-/*
-#ifdef HAVE_WAITPID
- waitpid(cache->pid, &wait_st, 0);
-#else
- wait(&wait_st);
-#endif
-*/
+ /*
+ * #ifdef HAVE_WAITPID
+ * waitpid(cache->pid, &wait_st, 0);
+ * #else
+ * wait(&wait_st);
+ * #endif
+ */
cache->pid = 0;
}
if (!stat(cache->file, &st)) {
@@ -373,13 +373,13 @@ loadImage(Buffer *buf, int flag)
continue;
if (cache->pid) {
kill(cache->pid, SIGKILL);
-/*
-#ifdef HAVE_WAITPID
- waitpid(cache->pid, &wait_st, 0);
-#else
- wait(&wait_st);
-#endif
-*/
+ /*
+ * #ifdef HAVE_WAITPID
+ * waitpid(cache->pid, &wait_st, 0);
+ * #else
+ * wait(&wait_st);
+ * #endif
+ */
cache->pid = 0;
}
unlink(cache->touch);
@@ -427,9 +427,9 @@ loadImage(Buffer *buf, int flag)
flush_tty();
if ((cache->pid = fork()) == 0) {
Buffer *b;
-/*
- setup_child(TRUE, 0, -1);
-*/
+ /*
+ * setup_child(TRUE, 0, -1);
+ */
setup_child(FALSE, 0, -1);
image_source = cache->file;
b = loadGeneralFile(cache->url, cache->current, NULL, 0, NULL);