Split long fmt string which caused a yellow

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30770 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Fred Bauer 2011-10-17 13:29:16 +00:00
parent 8c9017211e
commit 2a478c826b

View file

@ -1399,8 +1399,18 @@ int gen_c_source(struct font* pf, char *path)
" %s /* offset */\n" " %s /* offset */\n"
" %s\n" " %s\n"
" %d, /* defaultchar */\n" " %d, /* defaultchar */\n"
" %d, /* bits_size */\n" " %d, /* bits_size */\n",
" -1, /* font fd */\n" pf->maxwidth, pf->height,
pf->ascent,
pf->firstchar,
pf->size, 0,
obuf,
buf,
pf->defaultchar,
pf->bits_size
);
fprintf(ofp, " -1, /* font fd */\n"
" -1, /* font fd width */\n" " -1, /* font fd width */\n"
" -1, /* font fd offset */\n" " -1, /* font fd offset */\n"
" 0, /* buffer start */\n" " 0, /* buffer start */\n"
@ -1412,15 +1422,8 @@ int gen_c_source(struct font* pf, char *path)
" 0, /* */\n" " 0, /* */\n"
" 0, /* */\n" " 0, /* */\n"
"};\n" "};\n"
"#endif /* HAVE_LCD_BITMAP */\n", "#endif /* HAVE_LCD_BITMAP */\n"
pf->maxwidth, pf->height, );
pf->ascent,
pf->firstchar,
pf->size, 0,
obuf,
buf,
pf->defaultchar,
pf->bits_size);
return 0; return 0;
} }