We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a33b854 commit 28ef4f6Copy full SHA for 28ef4f6
components/doom/prboom/m_menu.c
@@ -1241,10 +1241,11 @@ static void M_InitDefaults(void)
1241
while ((t = *(p++)))
1242
for (; !(t->m_flags & S_END); t++)
1243
if (t->m_flags & S_HASDEFPTR) {
1244
- if (!(dp = M_LookupDefault(t->var.name)))
1245
- I_Error("M_InitDefaults: Couldn't find config variable %s", t->var.name);
1246
- else
+ if (!(dp = M_LookupDefault(t->var.name))) {
+ I_Error("M_InitDefaults: Couldn't find config variable '%s'\n", t->var.name);
+ } else {
1247
t->var.def = dp;
1248
+ }
1249
}
1250
1251
0 commit comments