diff options
author | Denys Vlasenko | 2010-10-29 11:46:52 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-10-29 11:46:52 +0200 |
commit | fb132e47370378474c68ad22c1c0cb2ccee178de (patch) | |
tree | 4f78d0fdd1c2fa2341c7d9bb17f9d98d099a238c /console-tools/loadfont.c | |
parent | 66cb7bed33da605674c3d24734466b8e8a60e337 (diff) | |
download | busybox-fb132e47370378474c68ad22c1c0cb2ccee178de.zip busybox-fb132e47370378474c68ad22c1c0cb2ccee178de.tar.gz |
whitespace cleanup
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'console-tools/loadfont.c')
-rw-r--r-- | console-tools/loadfont.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/console-tools/loadfont.c b/console-tools/loadfont.c index 3c77813..079626c 100644 --- a/console-tools/loadfont.c +++ b/console-tools/loadfont.c @@ -136,7 +136,7 @@ static void do_loadfont(int fd, unsigned char *inbuf, int height, int width, int * Example: * At the font position for a capital A-ring glyph, we * may have: - * 00C5,212B,FFFE,0041,030A,FFFF + * 00C5,212B,FFFE,0041,030A,FFFF * Some font positions may be described by sequences only, * namely when there is no precomposed Unicode value for the glyph. */ @@ -159,7 +159,7 @@ static void do_loadtable(int fd, unsigned char *inbuf, int tailsz, int fontsize, int glyph; uint16_t unicode; - maxct = tailsz; /* more than enough */ + maxct = tailsz; /* more than enough */ up = xmalloc(maxct * sizeof(*up)); for (glyph = 0; glyph < fontsize; glyph++) { @@ -255,10 +255,10 @@ static void do_load(int fd, unsigned char *buffer, size_t len) } else #endif #if ENABLE_FEATURE_LOADFONT_RAW - if (len == 9780) { /* file with three code pages? */ + if (len == 9780) { /* file with three code pages? */ charsize = height = 16; font += 40; - } else if ((len & 0377) == 0) { /* bare font */ + } else if ((len & 0377) == 0) { /* bare font */ charsize = height = len / 256; } else #endif |