- backend update from GZDoom.

This commit is contained in:
Christoph Oelckers 2021-05-17 20:33:40 +02:00
parent 4d226d19e7
commit eae97ded1b
4 changed files with 21 additions and 13 deletions

View file

@ -331,13 +331,8 @@ FString ExtractFileBase (const char *path, bool include_extension)
}
#endif
if (!include_extension)
if (!include_extension && (dot = strrchr(src, '.')))
{
dot = src;
while (*dot && *dot != '.')
{
dot++;
}
return FString(src, dot - src);
}
else