mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-20 09:52:18 +00:00
Mark new-style log names as loaded.
This commit is contained in:
parent
113568095a
commit
c36123aa56
1 changed files with 1 additions and 1 deletions
|
@ -751,7 +751,7 @@ boolean preparefilemenu(boolean samedepth)
|
|||
}
|
||||
else if (ext == EXT_TXT)
|
||||
{
|
||||
if (!strcmp(dent->d_name, "log.txt") || !strcmp(dent->d_name, "errorlog.txt"))
|
||||
if (!strncmp(dent->d_name, "log-", 4) || !strcmp(dent->d_name, "errorlog.txt"))
|
||||
ext |= EXT_LOADED;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue