mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
- fixed: On Windows the cache path could end up with double slashes when no AppData folder could be found.
This commit is contained in:
parent
535102ae6e
commit
b587c85a81
1 changed files with 1 additions and 0 deletions
|
@ -146,6 +146,7 @@ FString M_GetCachePath(bool create)
|
|||
// Don't use GAME_DIR and such so that ZDoom and its child ports can
|
||||
// share the node cache.
|
||||
path += "/zdoom/cache";
|
||||
path.Substitute("//", "/"); // needed because progdir ends with a slash.
|
||||
return path;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue