we like each line less than 80 characters wide please
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1890 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
01bc8e682a
commit
e1fbb12aaf
1 changed files with 3 additions and 1 deletions
|
@ -292,7 +292,9 @@ void generate_c_source(char *id, int width, int height, unsigned char *bitmap)
|
|||
id, height, id, width, id );
|
||||
|
||||
for(i=0, eline=0; i< height; i+=8, eline++) {
|
||||
for (a=0; a<width; a++) fprintf(f, "0x%02x, ", bitmap[eline*width + a]);
|
||||
for (a=0; a<width; a++)
|
||||
fprintf(f, "0x%02x,%c", bitmap[eline*width + a],
|
||||
(a+1)%13?' ':'\n');
|
||||
fprintf(f, "\n");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue