Skip to content

Commit 28ef4f6

Browse files
committed
update log
1 parent a33b854 commit 28ef4f6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

components/doom/prboom/m_menu.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,10 +1241,11 @@ static void M_InitDefaults(void)
12411241
while ((t = *(p++)))
12421242
for (; !(t->m_flags & S_END); t++)
12431243
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
1244+
if (!(dp = M_LookupDefault(t->var.name))) {
1245+
I_Error("M_InitDefaults: Couldn't find config variable '%s'\n", t->var.name);
1246+
} else {
12471247
t->var.def = dp;
1248+
}
12481249
}
12491250
}
12501251

0 commit comments

Comments
 (0)