mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix timestamp extraction with wildcards (fixes #605)
in CFileCollection. Previously it included the _ character.
This commit is contained in:
parent
8c4a26fa63
commit
6e9aa68149
|
@ -197,7 +197,7 @@ int64 CFileCollection::GetTimestamp(const char *pFilename)
|
|||
if(m_aFileDesc[0] == '\0')
|
||||
{
|
||||
int FilenameLength = str_length(pFilename);
|
||||
return ExtractTimestamp(pFilename+FilenameLength-m_FileExtLength-TIMESTAMP_LENGTH);
|
||||
return ExtractTimestamp(pFilename+FilenameLength-m_FileExtLength-TIMESTAMP_LENGTH+1);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue