From 2a478c826bff003a46a35c4cff2ca961c208c38f Mon Sep 17 00:00:00 2001 From: Fred Bauer Date: Mon, 17 Oct 2011 13:29:16 +0000 Subject: Split long fmt string which caused a yellow git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30770 a1c6a512-1295-4272-9138-f99709370657 --- tools/convbdf.c | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/tools/convbdf.c b/tools/convbdf.c index d4f7c3cb9a..4ae358e833 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; } -- cgit v1.2.3