summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2020-12-27 15:07:06 +0100
committerGitHub <noreply@github.com>2020-12-27 15:07:06 +0100
commit4f8e7b2a2b97475fa45a3117c63c91116a884703 (patch)
tree3686b550e1a7d591bb1d69da8b83d962abad5988 /src
parentdc5b8020ccd41053f440371ccaa290ca7a2632b9 (diff)
downloadopenttd-4f8e7b2a2b97475fa45a3117c63c91116a884703.tar.xz
Fix 65f65ad2: Missing path separator that fell over a cliff.
Diffstat (limited to 'src')
-rw-r--r--src/fios.cpp2
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;
}
/**