[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>
This commit is contained in:
Fumitoshi UKAI
2003-07-08 17:29:56 +00:00
parent 851c96514f
commit 34378b4a46
3 changed files with 17 additions and 10 deletions

View File

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