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:
Daniel Stenberg 2002-08-21 16:34:41 +00:00
parent 01bc8e682a
commit e1fbb12aaf

View file

@ -292,7 +292,9 @@ void generate_c_source(char *id, int width, int height, unsigned char *bitmap)
id, height, id, width, id ); id, height, id, width, id );
for(i=0, eline=0; i< height; i+=8, eline++) { 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"); fprintf(f, "\n");
} }