summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Bauer <fred.w.bauer@gmail.com>2011-10-17 13:29:16 +0000
committerFred Bauer <fred.w.bauer@gmail.com>2011-10-17 13:29:16 +0000
commit2a478c826bff003a46a35c4cff2ca961c208c38f (patch)
tree190fc8a3bb76a233ab1115d227de77cfb6eb3711
parent8c9017211e466cde0dc729c1814d813192ffd570 (diff)
downloadrockbox-2a478c826bff003a46a35c4cff2ca961c208c38f.zip
rockbox-2a478c826bff003a46a35c4cff2ca961c208c38f.tar.gz
rockbox-2a478c826bff003a46a35c4cff2ca961c208c38f.tar.bz2
rockbox-2a478c826bff003a46a35c4cff2ca961c208c38f.tar.xz
Split long fmt string which caused a yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30770 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--tools/convbdf.c25
1 files changed, 14 insertions, 11 deletions
diff --git a/tools/convbdf.c b/tools/convbdf.c
index d4f7c3c..4ae358e 100644
--- a/tools/convbdf.c
+++ b/tools/convbdf.c
@@ -1399,8 +1399,18 @@ int gen_c_source(struct font* pf, char *path)
" %s /* offset */\n"
" %s\n"
" %d, /* defaultchar */\n"
- " %d, /* bits_size */\n"
- " -1, /* font fd */\n"
+ " %d, /* bits_size */\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 offset */\n"
" 0, /* buffer start */\n"
@@ -1412,15 +1422,8 @@ int gen_c_source(struct font* pf, char *path)
" 0, /* */\n"
" 0, /* */\n"
"};\n"
- "#endif /* HAVE_LCD_BITMAP */\n",
- pf->maxwidth, pf->height,
- pf->ascent,
- pf->firstchar,
- pf->size, 0,
- obuf,
- buf,
- pf->defaultchar,
- pf->bits_size);
+ "#endif /* HAVE_LCD_BITMAP */\n"
+ );
return 0;
}