mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 18:21:06 +00:00
- backend update from GZDoom.
This commit is contained in:
parent
4d226d19e7
commit
eae97ded1b
4 changed files with 21 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue