mirror of https://github.com/OpenTTD/OpenTTD
Fix 65f65ad2: Missing path separator that fell over a cliff.
parent
dc5b8020cc
commit
4f8e7b2a2b
|
@ -219,7 +219,7 @@ static std::string FiosMakeFilename(const std::string *path, const char *name, c
|
||||||
const char *period = strrchr(name, '.');
|
const char *period = strrchr(name, '.');
|
||||||
if (period != nullptr && strcasecmp(period, ext) == 0) ext = "";
|
if (period != nullptr && strcasecmp(period, ext) == 0) ext = "";
|
||||||
|
|
||||||
return buf + name + ext;
|
return buf + PATHSEP + name + ext;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue