From 75c4972021b2935ac48988f57ecfe94b9858eb95 Mon Sep 17 00:00:00 2001 From: AIDA Shinra Date: Wed, 13 Jun 2018 21:24:34 +0900 Subject: [PATCH] Style and alignment fixes. --- src/da65/handler.c | 8 ++++---- src/da65/infofile.c | 20 ++++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/da65/handler.c b/src/da65/handler.c index a5adb413e..f8a778b22 100644 --- a/src/da65/handler.c +++ b/src/da65/handler.c @@ -748,19 +748,19 @@ void OH_JmpAbsoluteXIndirect (const OpcDesc* D) void OH_JsrAbsolute (const OpcDesc* D) { - unsigned ParamSize = SubroutineParamSize[GetCodeWord(PC+1)]; + unsigned ParamSize = SubroutineParamSize[GetCodeWord (PC+1)]; OH_Absolute (D); if (ParamSize > 0) { unsigned RemainingBytes; - unsigned BytesLeft; + unsigned BytesLeft; PC += D->Size; - RemainingBytes = GetRemainingBytes(); + RemainingBytes = GetRemainingBytes (); if (RemainingBytes < ParamSize) { ParamSize = RemainingBytes; } BytesLeft = ParamSize; while (BytesLeft > 0) { - unsigned Chunk = (BytesLeft > BytesPerLine)? BytesPerLine : BytesLeft; + unsigned Chunk = (BytesLeft > BytesPerLine) ? BytesPerLine : BytesLeft; DataByteLine (Chunk); BytesLeft -= Chunk; PC += Chunk; diff --git a/src/da65/infofile.c b/src/da65/infofile.c index c5040e82a..6db82cb36 100644 --- a/src/da65/infofile.c +++ b/src/da65/infofile.c @@ -377,19 +377,19 @@ static void LabelSection (void) /* Parse a label section */ { static const IdentTok LabelDefs[] = { - { "COMMENT", INFOTOK_COMMENT }, - { "ADDR", INFOTOK_ADDR }, - { "NAME", INFOTOK_NAME }, - { "SIZE", INFOTOK_SIZE }, - { "PARAMSIZE", INFOTOK_PARAMSIZE }, + { "COMMENT", INFOTOK_COMMENT }, + { "ADDR", INFOTOK_ADDR }, + { "NAME", INFOTOK_NAME }, + { "SIZE", INFOTOK_SIZE }, + { "PARAMSIZE", INFOTOK_PARAMSIZE }, }; /* Locals - initialize to avoid gcc warnings */ - char* Name = 0; - char* Comment = 0; - long Value = -1; - long Size = -1; - long ParamSize = -1; + char* Name = 0; + char* Comment = 0; + long Value = -1; + long Size = -1; + long ParamSize = -1; /* Skip the token */ InfoNextTok (); -- 2.39.5