mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
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:
parent
8c9017211e
commit
2a478c826b
1 changed files with 14 additions and 11 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue