diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-09-29 15:14:32 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-09-29 15:14:32 +0000 |
commit | 47137f061b4d39af403586fb6a5d5697b03ddd0f (patch) | |
tree | cc70d976cd772fbb85e9e0e91a2689ae0ec7d1f4 | |
parent | [w3m-dev 03323] EDITOR (diff) | |
download | w3m-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 '')
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | w3mimgdisplay.c | 8 |
2 files changed, 14 insertions, 2 deletions
@@ -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 @@ -3845,4 +3851,4 @@ * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.432 2002/09/28 16:32:48 ukai Exp $ +$Id: ChangeLog,v 1.433 2002/09/29 15:14:32 ukai Exp $ 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; } |