Commit 89468c58 authored by reimar's avatar reimar

Better formatting for 2D tables in tableprint code.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20402 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 77ce2503
...@@ -45,7 +45,7 @@ void write_##name##_2d_array(const void *arg, int len, int len2)\ ...@@ -45,7 +45,7 @@ void write_##name##_2d_array(const void *arg, int len, int len2)\
{\ {\
const type *data = arg;\ const type *data = arg;\
int i;\ int i;\
printf(" {");\ printf(" {\n");\
for (i = 0; i < len; i++) {\ for (i = 0; i < len; i++) {\
write_##name##_array(data + i * len2, len2, 0);\ write_##name##_array(data + i * len2, len2, 0);\
printf(i == len - 1 ? " }\n" : " }, {\n");\ printf(i == len - 1 ? " }\n" : " }, {\n");\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment