mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-15 16:45:08 +01:00
(svn r18029) -Fix (r18028): AppendPathSeparator() should stay global
This commit is contained in:
parent
860b9b1cea
commit
85a910f02e
@ -436,7 +436,7 @@ void FioCreateDirectory(const char *name)
|
||||
* @param buf string to append the separator to
|
||||
* @param buflen the length of the buf
|
||||
*/
|
||||
static void AppendPathSeparator(char *buf, size_t buflen)
|
||||
void AppendPathSeparator(char *buf, size_t buflen)
|
||||
{
|
||||
size_t s = strlen(buf);
|
||||
|
||||
|
@ -57,6 +57,7 @@ char *FioAppendDirectory(char *buf, size_t buflen, Searchpath sp, Subdirectory s
|
||||
char *FioGetDirectory(char *buf, size_t buflen, Subdirectory subdir);
|
||||
|
||||
void SanitizeFilename(char *filename);
|
||||
void AppendPathSeparator(char *buf, size_t buflen);
|
||||
void DeterminePaths(const char *exe);
|
||||
void *ReadFileToMem(const char *filename, size_t *lenp, size_t maxsize);
|
||||
bool FileExists(const char *filename);
|
||||
|
Loading…
Reference in New Issue
Block a user