changeset 25864:ae6c30322f95

Change format string so that the table is nicely aligned.
author diego
date Sun, 27 Jan 2008 18:40:01 +0000
parents 3bb953467710
children b1316c443f87
files TOOLS/alaw-gen.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/TOOLS/alaw-gen.c	Sun Jan 27 18:38:47 2008 +0000
+++ b/TOOLS/alaw-gen.c	Sun Jan 27 18:40:01 2008 +0000
@@ -21,7 +21,7 @@
 for(i=0;i<256;i++){
   signed short x;
   fread(&x,2,1,f);
-  printf("%6d",x);
+  printf("%7d",x);
   if(i!=255) putchar(',');
   if((i&7)==7) printf("\n");
 }
@@ -36,7 +36,7 @@
 for(i=0;i<256;i++){
   signed short x;
   fread(&x,2,1,f);
-  printf("%6d",x);
+  printf("%7d",x);
   if(i!=255) putchar(',');
   if((i&7)==7) printf("\n");
 }