Fix indentation of generated code, by letting Output method do its
indenting job
Modified: trunk/reactos/tools/gendib/gendib.c
_____
Modified: trunk/reactos/tools/gendib/gendib.c
--- trunk/reactos/tools/gendib/gendib.c 2005-09-14 02:03:17 UTC (rev
17848)
+++ trunk/reactos/tools/gendib/gendib.c 2005-09-14 19:32:47 UTC (rev
17849)
@@ -940,18 +940,17 @@
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 @@
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");
}