Commit ef800294 authored by Richard Gobeille's avatar Richard Gobeille
Browse files

engine: remove newlines from the ends of strings passed to fatal_exit()

parent fb62ac56
......@@ -8686,7 +8686,7 @@ int32_t enginePreInit(void)
initdivtables();
if (initsystem())
fatal_exit("Failure in initsystem()!\n");
fatal_exit("Failure in initsystem()!");
makeasmwriteable();
......
......@@ -260,7 +260,7 @@ void inthash_add(inthashtable_t *t, intptr_t key, intptr_t value, int32_t replac
while (tail->collision != nullptr && tail != seeker);
if (EDUKE32_PREDICT_FALSE(tail == seeker))
fatal_exit("inthash_add(): table full!\n");
fatal_exit("inthash_add(): table full!");
tail->key = key;
tail->value = value;
......
......@@ -460,7 +460,7 @@ static void maybe_alloc_palookup(int32_t palnum)
{
alloc_palookup(palnum);
if (palookup[palnum] == NULL)
fatal_exit("NULL palette!\n");
fatal_exit("NULL palette!");
}
}
......
......@@ -6659,7 +6659,7 @@ int app_main(int argc, char const* const* argv)
if (CONTROL_Startup(controltype_keyboardandmouse, &BGetTime, TICRATE))
{
engineUnInit();
fatal_exit("There was an error initializing the CONTROL system.\n");
fatal_exit("There was an error initializing the CONTROL system.");
}
G_SetupGameButtons();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment