summaryrefslogtreecommitdiff
path: root/src/reset_rtc_screen.c
diff options
context:
space:
mode:
authorLOuroboros <lunosouroboros@gmail.com>2021-08-24 19:59:32 -0300
committerLOuroboros <lunosouroboros@gmail.com>2021-08-24 19:59:32 -0300
commit554210c5e315e786ddc6eef888e9ff6065ad73f8 (patch)
tree66bb5065902fb10a4ad007e53cb61f90fd68e624 /src/reset_rtc_screen.c
parent63e6b914e4d9b9bdb0a8d621b2ed233990f2ef66 (diff)
Removed trailing spaces in the most relevant files
Command used for the job: egrep -rl ' $' --include *.c --include *.h --include *.s --include *.inc --include *.txt * | xargs sed -i 's/\s\+$//g' Credits to Grant Murphy from Stack Overflow.
Diffstat (limited to 'src/reset_rtc_screen.c')
-rw-r--r--src/reset_rtc_screen.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/reset_rtc_screen.c b/src/reset_rtc_screen.c
index 528a0e52d..f451bfce3 100644
--- a/src/reset_rtc_screen.c
+++ b/src/reset_rtc_screen.c
@@ -80,33 +80,33 @@ static const struct BgTemplate sBgTemplates[] =
static const struct WindowTemplate sWindowTemplates[] =
{
{
- .bg = 0,
- .tilemapLeft = 1,
- .tilemapTop = 1,
- .width = 19,
- .height = 9,
- .paletteNum = 15,
+ .bg = 0,
+ .tilemapLeft = 1,
+ .tilemapTop = 1,
+ .width = 19,
+ .height = 9,
+ .paletteNum = 15,
.baseBlock = 0x155
},
{
- .bg = 0,
- .tilemapLeft = 2,
- .tilemapTop = 15,
- .width = 27,
- .height = 4,
- .paletteNum = 15,
+ .bg = 0,
+ .tilemapLeft = 2,
+ .tilemapTop = 15,
+ .width = 27,
+ .height = 4,
+ .paletteNum = 15,
.baseBlock = 0xE9
},
DUMMY_WIN_TEMPLATE
};
static const struct WindowTemplate sInputTimeWindow = {
- .bg = 0,
- .tilemapLeft = 4,
- .tilemapTop = 9,
- .width = 21,
- .height = 2,
- .paletteNum = 15,
+ .bg = 0,
+ .tilemapLeft = 4,
+ .tilemapTop = 9,
+ .width = 21,
+ .height = 2,
+ .paletteNum = 15,
.baseBlock = 0xBF
};
@@ -362,7 +362,7 @@ static void PrintTime(u8 windowId, u8 x, u8 y, u16 days, u8 hours, u8 minutes, u
{
u8 *dest = gStringVar4;
- // Print days
+ // Print days
ConvertIntToDecimalStringN(gStringVar1, days, STR_CONV_MODE_RIGHT_ALIGN, 4);
dest = StringCopy(dest, gStringVar1);
dest = StringCopy(dest, gText_Day);
@@ -648,7 +648,7 @@ static void Task_ResetRtcScreen(u8 taskId)
case MAINSTATE_CHECK_SAVE:
if (!gPaletteFade.active)
{
- if (gSaveFileStatus == SAVE_STATUS_EMPTY
+ if (gSaveFileStatus == SAVE_STATUS_EMPTY
|| gSaveFileStatus == SAVE_STATUS_CORRUPT)
{
ShowMessage(gText_NoSaveFileCantSetTime);