diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-07-08 17:30:37 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-07-08 17:30:37 +0000 |
commit | fd849ba01d673f7a5fa8eb39b1b134641c1d7770 (patch) | |
tree | c3eb8c5612d3af3cc9256c81d22d60c91f39c845 /w3mimg/fb/fb.c | |
parent | [w3m-dev 03931] Re: clear image (diff) | |
download | w3m-fd849ba01d673f7a5fa8eb39b1b134641c1d7770.tar.gz w3m-fd849ba01d673f7a5fa8eb39b1b134641c1d7770.zip |
fix indent
Diffstat (limited to 'w3mimg/fb/fb.c')
-rw-r--r-- | w3mimg/fb/fb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/w3mimg/fb/fb.c b/w3mimg/fb/fb.c index 25bf8ba..7e87e9d 100644 --- a/w3mimg/fb/fb.c +++ b/w3mimg/fb/fb.c @@ -1,4 +1,4 @@ -/* $Id: fb.c,v 1.12 2003/07/08 17:29:56 ukai Exp $ */ +/* $Id: fb.c,v 1.13 2003/07/08 17:30:37 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; 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); |