aboutsummaryrefslogtreecommitdiffstats
path: root/w3mimgdisplay.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-09-29 15:14:32 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-09-29 15:14:32 +0000
commit47137f061b4d39af403586fb6a5d5697b03ddd0f (patch)
treecc70d976cd772fbb85e9e0e91a2689ae0ec7d1f4 /w3mimgdisplay.c
parent[w3m-dev 03323] EDITOR (diff)
downloadw3m-47137f061b4d39af403586fb6a5d5697b03ddd0f.tar.gz
w3m-47137f061b4d39af403586fb6a5d5697b03ddd0f.zip
[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 (limited to 'w3mimgdisplay.c')
-rw-r--r--w3mimgdisplay.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/w3mimgdisplay.c b/w3mimgdisplay.c
index 2a798b1..402a572 100644
--- a/w3mimgdisplay.c
+++ b/w3mimgdisplay.c
@@ -1,4 +1,4 @@
-/* $Id: w3mimgdisplay.c,v 1.6 2002/07/22 16:17:32 ukai Exp $ */
+/* $Id: w3mimgdisplay.c,v 1.7 2002/09/29 15:14:32 ukai Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
@@ -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;
}