commit 859e09ed0d3e9c9fa1a4ed224d73a537ca6f78ad
parent 92d454e6cf2bbbd33339217ae917fa4c0c2f6fd0
Author: ukai <ukai>
Date: Sun, 29 Sep 2002 15:14:32 +0000
[w3m-dev 03325] Re: hang up when seeing web page that contains xbm file
* w3mimgdisplay.c (main): alreays return response
even if size is unknown
From: qhwt@myrealbox.com
Diffstat:
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,9 @@
+2002-09-30 qhwt@myrealbox.com
+
+ * [w3m-dev 03325] Re: hang up when seeing web page that contains xbm file
+ * w3mimgdisplay.c (main): alreays return response
+ even if size is unknown
+
2002-09-29 Hiroaki Shimotsu <shim@d5.bs1.fc.nec.co.jp>
* [w3m-dev 03323] EDITOR
diff --git a/w3mimgdisplay.c b/w3mimgdisplay.c
@@ -103,7 +103,13 @@ main(int argc, char **argv)
if (w_op->get_image_size(w_op, &img, &buf[2], &w, &h)) {
fprintf(stdout, "%d %d\n", w, h);
fflush(stdout);
+ } else {
+ fprintf(stdout, "\n");
+ fflush(stdout);
}
+ } else {
+ fprintf(stdout, "\n");
+ fflush(stdout);
}
break;
}