Skip to content

Commit

Permalink
Fix formatter crash on unknown platform section
Browse files Browse the repository at this point in the history
Closes #18.
  • Loading branch information
nosoop committed Feb 4, 2024
1 parent 7754d0d commit 8cbd096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userconf/mempatches.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ SMCResult MemPatchGameConfig::ReadSMC_NewSection(const SMCStates *states, const
break;
}
case PState_Runtime: {
smutils->LogError(myself, "Unexpected subsection \"%s\" (expected platform-specific)");
smutils->LogError(myself, "Unexpected subsection \"%s\" (expected platform-specific)", name);
break;
}
default:
Expand Down

0 comments on commit 8cbd096

Please sign in to comment.