commit f30945a7cb0455f8d0db8b6a4f52934d9452ac68
parent 6cec752e8ebb2614a92b59ac79c90643eef3b0a3
Author: ukai <ukai>
Date: Tue, 8 Jul 2003 17:30:37 +0000
fix indent
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/w3mimg/fb/fb.c b/w3mimg/fb/fb.c
@@ -380,8 +380,8 @@ fb_clear(int x, int y, int w, int h, int r, int g, int b)
offset_fb = fscinfo.line_length * y + pixel_size * x;
work = ((r >> (CHAR_BIT - vscinfo.red.length)) << vscinfo.red.offset) +
- ((g >> (CHAR_BIT - vscinfo.green.length)) << vscinfo.green.offset) +
- ((b >> (CHAR_BIT - vscinfo.blue.length)) << vscinfo.blue.offset);
+ ((g >> (CHAR_BIT - vscinfo.green.length)) << vscinfo.green.offset) +
+ ((b >> (CHAR_BIT - vscinfo.blue.length)) << vscinfo.blue.offset);
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++)
memcpy(buf + offset_fb + pixel_size * j, &work, pixel_size);