[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,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;
}