diff options
author | rubidium <rubidium@openttd.org> | 2007-06-12 15:46:34 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-12 15:46:34 +0000 |
commit | 73790d9cd6de5b704f006b20b7fd5e150368fd55 (patch) | |
tree | 807df3145b0384aac9a4c04c5103b8164bf210cd /src/fileio.h | |
parent | 4df44a4dffbe6d537bbea91ce99cc30ba131606a (diff) | |
download | openttd-73790d9cd6de5b704f006b20b7fd5e150368fd55.tar.xz |
(svn r10116) -Fix [FS#850]: remove invalid characters (for the file system) from savegame names. Based on a patch by TheJosh.
Diffstat (limited to 'src/fileio.h')
-rw-r--r-- | src/fileio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fileio.h b/src/fileio.h index c3db610d7..7835a5c8a 100644 --- a/src/fileio.h +++ b/src/fileio.h @@ -20,6 +20,7 @@ FILE *FioFOpenFile(const char *filename); bool FioCheckFileExists(const char *filename); void FioCreateDirectory(const char *filename); +void SanitizeFilename(char *filename); void AppendPathSeparator(char *buf, size_t buflen); void DeterminePaths(const char *exe); |