Mark new-style log names as loaded.

This commit is contained in:
toaster 2019-09-20 17:43:41 +01:00
parent 113568095a
commit c36123aa56
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}