Fix indentation of generated code, by letting Output method do its indenting job

svn path=/trunk/; revision=17849
This commit is contained in:
Hervé Poussineau 2005-09-14 19:32:47 +00:00
parent 02eed3311f
commit 5b76e2c8f8

View file

@ -943,13 +943,12 @@ CreateTable(FILE *Out, unsigned Bpp)
Output(Out, "{\n"); Output(Out, "{\n");
for (RopCode = 0; RopCode < 256; RopCode++) for (RopCode = 0; RopCode < 256; RopCode++)
{ {
Output(Out, " ");
PrintRoutineName(Out, Bpp, FindRopInfo(RopCode)); PrintRoutineName(Out, Bpp, FindRopInfo(RopCode));
if (RopCode < 255) if (RopCode < 255)
{ {
putc(',', Out); Output(Out, ",");
} }
putc('\n', Out); Output(Out, "\n");
} }
Output(Out, "};\n"); Output(Out, "};\n");
} }