Mercurial > libavcodec.hg
diff tableprint.c @ 11524:06d8a281e045 libavcodec
Do not use puts, it adds additional newlines making the generated files
needlessly ugly.
| author | reimar |
|---|---|
| date | Sun, 21 Mar 2010 16:29:08 +0000 |
| parents | db3588eb254a |
| children | e03e3df6fb7d |
line wrap: on
line diff
--- a/tableprint.c Sun Mar 21 16:03:45 2010 +0000 +++ b/tableprint.c Sun Mar 21 16:29:08 2010 +0000 @@ -43,10 +43,9 @@ tableinit(); for (i = 0; tables[i].declaration; i++) { - puts(tables[i].declaration); - puts(" = {\n"); + printf("%s = {\n", tables[i].declaration); tables[i].printfunc(tables[i].data, tables[i].size, tables[i].size2); - puts("};\n"); + printf("};\n"); } return 0; }
