diff options
author | Michael Lutz <michi@icosahedron.de> | 2020-12-27 15:07:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-27 15:07:06 +0100 |
commit | 4f8e7b2a2b97475fa45a3117c63c91116a884703 (patch) | |
tree | 3686b550e1a7d591bb1d69da8b83d962abad5988 /src | |
parent | dc5b8020ccd41053f440371ccaa290ca7a2632b9 (diff) | |
download | openttd-4f8e7b2a2b97475fa45a3117c63c91116a884703.tar.xz |
Fix 65f65ad2: Missing path separator that fell over a cliff.
Diffstat (limited to 'src')
-rw-r--r-- | src/fios.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fios.cpp b/src/fios.cpp index 698a0b559..4586f86b3 100644 --- a/src/fios.cpp +++ b/src/fios.cpp @@ -219,7 +219,7 @@ static std::string FiosMakeFilename(const std::string *path, const char *name, c const char *period = strrchr(name, '.'); if (period != nullptr && strcasecmp(period, ext) == 0) ext = ""; - return buf + name + ext; + return buf + PATHSEP + name + ext; } /** |