Skip to content

Commit

Permalink
Formatting big if statement
Browse files Browse the repository at this point in the history
Co-authored-by: Rachel <[email protected]>
  • Loading branch information
Viperio19 and lhearachel authored Dec 9, 2024
1 parent 36f95a2 commit cbd8e92
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/journal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit cbd8e92

Please sign in to comment.