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.tar.gz
rockbox-2a478c826bff003a46a35c4cff2ca961c208c38f.zip
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 d4f7c3cb9a..4ae358e833 100644
--- a/tools/convbdf.c
+++ b/tools/convbdf.c
@@ -1399,8 +1399,18 @@ int gen_c_source(struct font* pf, char *path)
1399 " %s /* offset */\n" 1399 " %s /* offset */\n"
1400 " %s\n" 1400 " %s\n"
1401 " %d, /* defaultchar */\n" 1401 " %d, /* defaultchar */\n"
1402 " %d, /* bits_size */\n" 1402 " %d, /* bits_size */\n",
1403 " -1, /* font fd */\n" 1403 pf->maxwidth, pf->height,
1404 pf->ascent,
1405 pf->firstchar,
1406 pf->size, 0,
1407 obuf,
1408 buf,
1409 pf->defaultchar,
1410 pf->bits_size
1411 );
1412
1413 fprintf(ofp, " -1, /* font fd */\n"
1404 " -1, /* font fd width */\n" 1414 " -1, /* font fd width */\n"
1405 " -1, /* font fd offset */\n" 1415 " -1, /* font fd offset */\n"
1406 " 0, /* buffer start */\n" 1416 " 0, /* buffer start */\n"
@@ -1412,15 +1422,8 @@ int gen_c_source(struct font* pf, char *path)
1412 " 0, /* */\n" 1422 " 0, /* */\n"
1413 " 0, /* */\n" 1423 " 0, /* */\n"
1414 "};\n" 1424 "};\n"
1415 "#endif /* HAVE_LCD_BITMAP */\n", 1425 "#endif /* HAVE_LCD_BITMAP */\n"
1416 pf->maxwidth, pf->height, 1426 );
1417 pf->ascent,
1418 pf->firstchar,
1419 pf->size, 0,
1420 obuf,
1421 buf,
1422 pf->defaultchar,
1423 pf->bits_size);
1424 1427
1425 return 0; 1428 return 0;
1426} 1429}