Generating .c file make internal data structures unusable so that .fnt file can not be produced after that. Make sure that both options are not used at the same time. Better fix would be to adjust the function that generates .c file, but it would require more time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26001 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6c09fe757a
commit
573409193b
1 changed files with 6 additions and 0 deletions
|
@ -423,6 +423,12 @@ int main(int ac, char **av)
|
||||||
usage();
|
usage();
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (gen_c && gen_fnt) {
|
||||||
|
print_info(".c and .fnt files can not be produced in the same run!\n");
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
if (oflag) {
|
if (oflag) {
|
||||||
if (ac > 1 || (gen_c && gen_fnt) || (gen_c && gen_h) || (gen_h && gen_fnt)) {
|
if (ac > 1 || (gen_c && gen_fnt) || (gen_c && gen_h) || (gen_h && gen_fnt)) {
|
||||||
usage();
|
usage();
|
||||||
|
|
Loading…
Reference in a new issue