[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
This commit is contained in:
Fumitoshi UKAI
2002-09-29 15:14:32 +00:00
parent b8d6560938
commit 47137f061b
2 changed files with 14 additions and 2 deletions

View File

@@ -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 $

View File

@@ -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;
}