diff options
author | Denis Vlasenko | 2008-04-22 00:16:29 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-04-22 00:16:29 +0000 |
commit | 1f228985b27602f94ff973d50e276220887df6a3 (patch) | |
tree | 5715edba638603b3815dc8700c88c2c0395b2b16 /miscutils/fbsplash.c | |
parent | 5d89fbaa2e00a8a26e530306d76b78bf91d12ec8 (diff) | |
download | busybox-1f228985b27602f94ff973d50e276220887df6a3.zip busybox-1f228985b27602f94ff973d50e276220887df6a3.tar.gz |
whitespace fixes. no code changes
Diffstat (limited to 'miscutils/fbsplash.c')
-rw-r--r-- | miscutils/fbsplash.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/miscutils/fbsplash.c b/miscutils/fbsplash.c index a288b3c..626cefb 100644 --- a/miscutils/fbsplash.c +++ b/miscutils/fbsplash.c @@ -9,11 +9,11 @@ * - use kernel option 'vga=xxx' or otherwise enable framebuffer device. * - put somewhere fbsplash.cfg file and an image in .ppm format. * - run applet: $ setsid fbsplash [params] & - * -c: hide cursor - * -d /dev/fbN: framebuffer device (if not /dev/fb0) - * -s path_to_image_file (can be "-" for stdin) - * -i path_to_cfg_file - * -f path_to_fifo (can be "-" for stdin) + * -c: hide cursor + * -d /dev/fbN: framebuffer device (if not /dev/fb0) + * -s path_to_image_file (can be "-" for stdin) + * -i path_to_cfg_file + * -f path_to_fifo (can be "-" for stdin) * - if you want to run it only in presence of a kernel parameter * (for example fbsplash=on), use: * grep -q "fbsplash=on" </proc/cmdline && setsid fbsplash [params] @@ -147,7 +147,7 @@ static void fb_drawfullrectangle(int nx1pos, int ny1pos, int nx2pos, int ny2pos, ngreen >>= 2; // 6-bit green nblue >>= 3; // 5-bit blue thispix = nblue + (ngreen << 5) + (nred << (5+6)); - + cnt1 = ny2pos - ny1pos; nypos = ny1pos; do { @@ -156,7 +156,7 @@ static void fb_drawfullrectangle(int nx1pos, int ny1pos, int nx2pos, int ny2pos, do { *ptr++ = thispix; } while (--cnt2 >= 0); - + nypos++; } while (--cnt1 >= 0); } @@ -342,7 +342,7 @@ static void init(const char *cfg_filename) case 7: G.bdebug_messages = val; if (G.bdebug_messages) - G.logfile_fd = xfopen("/tmp/fbsplash.log", "w"); + G.logfile_fd = xfopen("/tmp/fbsplash.log", "w"); break; #endif err: |