* w3mimgdisplay.c (main): '5' for w3mimgsize
From: Fumitoshi UKAI <ukai@debian.or.jp>
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2002-07-18 Fumitoshi UKAI <ukai@debian.or.jp>
|
||||||
|
|
||||||
|
* w3mimgdisplay.c (main): '5' for w3mimgsize
|
||||||
|
|
||||||
2002-07-18 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp>
|
2002-07-18 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp>
|
||||||
|
|
||||||
* [w3m-dev 03270] Re: w3m-img for framebuffer merged
|
* [w3m-dev 03270] Re: w3m-img for framebuffer merged
|
||||||
@@ -3606,4 +3610,4 @@
|
|||||||
* release-0-2-1
|
* release-0-2-1
|
||||||
* import w3m-0.2.1
|
* import w3m-0.2.1
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.407 2002/07/18 06:23:51 ukai Exp $
|
$Id: ChangeLog,v 1.408 2002/07/18 06:27:23 ukai Exp $
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* $Id: w3mimgdisplay.c,v 1.3 2002/07/17 20:58:48 ukai Exp $ */
|
/* $Id: w3mimgdisplay.c,v 1.4 2002/07/18 06:27:23 ukai Exp $ */
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
@@ -74,16 +74,16 @@ main(int argc, char **argv)
|
|||||||
fputs("\n", stdout);
|
fputs("\n", stdout);
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
break;
|
break;
|
||||||
#if 0 /* def USE_W3MIMG_FB */
|
|
||||||
case '5':
|
case '5':
|
||||||
if (w3mimg_mode == W3MIMG_FB_MODE) {
|
if (w_op->init(w_op)) {
|
||||||
IMAGE *im = fb_load_image(&buf[2], 0, 0);
|
W3MImage img;
|
||||||
fprintf(stdout, "%d %d\n", im->width, im->height);
|
if (w_op->load_image(w_op, &img, &buf[2], 0, 0)) {
|
||||||
fflush(stdout);
|
fprintf(stdout, "%d %d\n", img.width, img.height);
|
||||||
fb_free_image(im);
|
fflush(stdout);
|
||||||
|
w_op->free_image(w_op, &img);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ClearImage();
|
ClearImage();
|
||||||
|
|||||||
Reference in New Issue
Block a user