mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
Fix indentation of generated code, by letting Output method do its indenting job
svn path=/trunk/; revision=17849
This commit is contained in:
parent
02eed3311f
commit
5b76e2c8f8
1 changed files with 6 additions and 7 deletions
|
@ -940,18 +940,17 @@ CreateTable(FILE *Out, unsigned Bpp)
|
|||
MARK(Out);
|
||||
Output(Out, "\n");
|
||||
Output(Out, "static void (*PrimitivesTable[256])(PBLTINFO) =\n");
|
||||
Output(Out, " {\n");
|
||||
Output(Out, "{\n");
|
||||
for (RopCode = 0; RopCode < 256; RopCode++)
|
||||
{
|
||||
Output(Out, " ");
|
||||
PrintRoutineName(Out, Bpp, FindRopInfo(RopCode));
|
||||
if (RopCode < 255)
|
||||
{
|
||||
putc(',', Out);
|
||||
Output(Out, ",");
|
||||
}
|
||||
putc('\n', Out);
|
||||
Output(Out, "\n");
|
||||
}
|
||||
Output(Out, " };\n");
|
||||
Output(Out, "};\n");
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -962,9 +961,9 @@ CreateBitBlt(FILE *Out, unsigned Bpp)
|
|||
Output(Out, "BOOLEAN\n");
|
||||
Output(Out, "DIB_%uBPP_BitBlt(PBLTINFO BltInfo)\n", Bpp);
|
||||
Output(Out, "{\n");
|
||||
Output(Out, " PrimitivesTable[BltInfo->Rop4 & 0xff](BltInfo);\n");
|
||||
Output(Out, "PrimitivesTable[BltInfo->Rop4 & 0xff](BltInfo);\n");
|
||||
Output(Out, "\n");
|
||||
Output(Out, " return TRUE;\n");
|
||||
Output(Out, "return TRUE;\n");
|
||||
Output(Out, "}\n");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue