Fix fatal error formatting

Based on this patch: https://aur.archlinux.org/cgit/aur.git/tree/0002-fix-format-security-error.patch?h=gzdoom
This commit is contained in:
Eonfge 2025-01-06 16:50:43 +01:00 committed by Rachael Alexanderson
parent af8838d45a
commit 22690bbb76

View file

@ -1072,7 +1072,7 @@ void I_NetError(const char* error)
{
doomcom.numnodes = 0;
StartWindow->NetClose();
I_FatalError(error);
I_FatalError("%s", error);
}
// todo: later these must be dispatched by the main menu, not the start screen.