mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-29 20:50:58 +00:00
Merge branch 'logloaded' into 'master'
Mark new-style log names as loaded in addons menu See merge request STJr/SRB2Internal!340
This commit is contained in:
commit
07120aeda4
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