Skip to content

Commit 8cbd096

Browse files
committed
Fix formatter crash on unknown platform section
Closes #18.
1 parent 7754d0d commit 8cbd096

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

userconf/mempatches.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ SMCResult MemPatchGameConfig::ReadSMC_NewSection(const SMCStates *states, const
106106
break;
107107
}
108108
case PState_Runtime: {
109-
smutils->LogError(myself, "Unexpected subsection \"%s\" (expected platform-specific)");
109+
smutils->LogError(myself, "Unexpected subsection \"%s\" (expected platform-specific)", name);
110110
break;
111111
}
112112
default:

0 commit comments

Comments
 (0)