src/f_finale.c: Fix compiler error

This commit is contained in:
SteelT 2024-01-03 02:25:23 -05:00
parent 9ee138ac13
commit e2cbf06fa7

View file

@ -1922,7 +1922,7 @@ void F_TitleScreenTicker(boolean run)
// Setup demo name
brief = mapheaderinfo[mapnum]->ghostBrief[numstaff];
lumpname = W_CheckNameForNumPwad(brief->wad, brief->lump);
strcpy_s(dname, sizeof(dname), lumpname);
strlcpy(dname, lumpname, sizeof(dname));
loadreplay:
demo.title = true;