From 5b76e2c8f81f8d3e09a7a520e43c36979eda778a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Wed, 14 Sep 2005 19:32:47 +0000 Subject: [PATCH] Fix indentation of generated code, by letting Output method do its indenting job svn path=/trunk/; revision=17849 --- reactos/tools/gendib/gendib.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/reactos/tools/gendib/gendib.c b/reactos/tools/gendib/gendib.c index 080a7b1b413..f9c1383b55c 100644 --- a/reactos/tools/gendib/gendib.c +++ b/reactos/tools/gendib/gendib.c @@ -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"); }