- Backend update.

This commit is contained in:
Christoph Oelckers 2020-10-16 23:25:18 +02:00
commit 65c52b9825
8 changed files with 89 additions and 6 deletions

View file

@ -1446,7 +1446,7 @@ const char *FileSystem::GetResourceFileName (int rfnum) const noexcept
name = Files[rfnum]->FileName;
slash = strrchr (name, '/');
return slash != NULL ? slash+1 : name;
return (slash != NULL && slash[1] != 0) ? slash+1 : name;
}
//==========================================================================