diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-07-08 17:29:56 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-07-08 17:29:56 +0000 |
commit | 34378b4a469d47761ef4362efd9e898ca97709cf (patch) | |
tree | d98d3d8b656089e8dbdcb18d8eedc96db8999d8e /w3mimgdisplay.c | |
parent | fix indent (diff) | |
download | w3m-34378b4a469d47761ef4362efd9e898ca97709cf.tar.gz w3m-34378b4a469d47761ef4362efd9e898ca97709cf.zip |
[w3m-dev 03931] Re: clear image
* w3mimgdisplay.c (ClearImage): offset
* w3mimg/fb/fb.c (fb_clear): memcpy by pixel_size
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'w3mimgdisplay.c')
-rw-r--r-- | w3mimgdisplay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/w3mimgdisplay.c b/w3mimgdisplay.c index 67f0305..8fb733d 100644 --- a/w3mimgdisplay.c +++ b/w3mimgdisplay.c @@ -1,4 +1,4 @@ -/* $Id: w3mimgdisplay.c,v 1.15 2003/07/07 15:49:03 ukai Exp $ */ +/* $Id: w3mimgdisplay.c,v 1.16 2003/07/08 17:29:56 ukai Exp $ */ #include <stdio.h> #include <stdlib.h> #include <ctype.h> @@ -324,5 +324,5 @@ ClearImage(char *buf) for (; isdigit(*p); p++) h = 10 * h + (*p - '0'); - w_op->clear(w_op, x, y, w, h); + w_op->clear(w_op, x + offset_x, y + offset_y, w, h); } |