diff options
author | Ito Hiroyuki <ZXB01226@nifty.com> | 2010-12-21 10:13:55 +0000 |
---|---|---|
committer | Ito Hiroyuki <ZXB01226@nifty.com> | 2010-12-21 10:13:55 +0000 |
commit | 40feb310a3399b674b4f8924465cee1ea441ffde (patch) | |
tree | 2df2f0c81b76925e8fbf681848cdd0d762e54d72 /w3mimgdisplay.c | |
parent | add documents about some options for w3mimgdisplay. (diff) | |
download | w3m-40feb310a3399b674b4f8924465cee1ea441ffde.tar.gz w3m-40feb310a3399b674b4f8924465cee1ea441ffde.zip |
w3mimgdisplay supports Windows console (http://www.j10n.org/files/w3m-cvs-1.1040-misc.patch).
Diffstat (limited to '')
-rw-r--r-- | w3mimgdisplay.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/w3mimgdisplay.c b/w3mimgdisplay.c index 78550e5..5486a47 100644 --- a/w3mimgdisplay.c +++ b/w3mimgdisplay.c @@ -1,4 +1,4 @@ -/* $Id: w3mimgdisplay.c,v 1.18 2003/07/13 16:20:42 ukai Exp $ */ +/* $Id: w3mimgdisplay.c,v 1.19 2010/12/21 10:13:55 htrb Exp $ */ #include <stdio.h> #include <stdlib.h> #include <ctype.h> @@ -65,6 +65,7 @@ main(int argc, char **argv) if (defined_test) { printf("%d %d\n", w_op->width - w_op->offset_x, w_op->height - w_op->offset_y); + w_op->close(w_op); exit(0); } @@ -75,6 +76,7 @@ main(int argc, char **argv) if (w_op->get_image_size(w_op, &img, defined_size, &w, &h)) printf("%d %d\n", w, h); } + w_op->close(w_op); exit(0); } |