From cbd8e92de410258321491c1a576334cb4c6226d6 Mon Sep 17 00:00:00 2001 From: Viperio <146665252+Viperio19@users.noreply.github.com> Date: Mon, 9 Dec 2024 11:29:13 +0100 Subject: [PATCH] Formatting big if statement Co-authored-by: Rachel --- src/journal.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/journal.c b/src/journal.c index 04e3d062ef..42b1237dc1 100644 --- a/src/journal.c +++ b/src/journal.c @@ -476,7 +476,9 @@ static void JournalEntry_SaveLocationEventItem(u32 *locationEvents, JournalEntry } } - if (i != 0 && ((locationEvents[i - 1] & EVENT_TYPE) == journalEntryLocationEvent->eventType) && ((locationEvents[i - 1] >> 16) == journalEntryLocationEvent->item)) { + if (i != 0 + && (locationEvents[i - 1] & EVENT_TYPE) == journalEntryLocationEvent->eventType + && (locationEvents[i - 1] >> 16) == journalEntryLocationEvent->item) { return; }