Changeset - r13500:e02fc48dfb2e
[Not reviewed]
master
0 2 0
glx - 15 years ago 2009-11-09 15:16:38
glx@openttd.org
(svn r18029) -Fix (r18028): AppendPathSeparator() should stay global
2 files changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/fileio.cpp
Show inline comments
 
@@ -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);
 

	
src/fileio_func.h
Show inline comments
 
@@ -57,6 +57,7 @@ char *FioAppendDirectory(char *buf, size
 
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);
0 comments (0 inline, 0 general)