aboutsummaryrefslogtreecommitdiffstats
path: root/w3mimg/fb/fb.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-07-07 15:49:03 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-07-07 15:49:03 +0000
commit851c96514ff7e6ccb0c97f797c5e7bae3ab19799 (patch)
tree808cc4a7ef5eb25d71c357079934da72b12195c3 /w3mimg/fb/fb.c
parent[w3m-dev 03929] clear image (diff)
downloadw3m-851c96514ff7e6ccb0c97f797c5e7bae3ab19799.tar.gz
w3m-851c96514ff7e6ccb0c97f797c5e7bae3ab19799.zip
fix indent
Diffstat (limited to 'w3mimg/fb/fb.c')
-rw-r--r--w3mimg/fb/fb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/w3mimg/fb/fb.c b/w3mimg/fb/fb.c
index 954525a..029d130 100644
--- a/w3mimg/fb/fb.c
+++ b/w3mimg/fb/fb.c
@@ -1,4 +1,4 @@
-/* $Id: fb.c,v 1.10 2003/07/07 15:48:17 ukai Exp $ */
+/* $Id: fb.c,v 1.11 2003/07/07 15:49:39 ukai Exp $ */
/**************************************************************************
fb.c 0.3 Copyright (C) 2002, hito
**************************************************************************/
@@ -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;
bg = ((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++) {
memcpy(buf + offset_fb, bg, pixel_size * w);
offset_fb += fscinfo.line_length;