(svn r26769) -Codechange [Squirrel]: remove the difference between some platforms having wchar for SQChar and others just char; always use char (and UTF-8) like in the rest of (internal) OpenTTD

This commit is contained in:
rubidium
2014-09-06 17:20:45 +00:00
parent e76e6efd17
commit 7a00d2e849
3 changed files with 7 additions and 7 deletions

View File

@@ -301,8 +301,8 @@
const char *FS2OTTD(const TCHAR *name);
const TCHAR *OTTD2FS(const char *name, bool console_cp = false);
#define SQ2OTTD(name) FS2OTTD(name)
#define OTTD2SQ(name) OTTD2FS(name)
#define SQ2OTTD(name) (name)
#define OTTD2SQ(name) (name)
#else
#define fopen(file, mode) fopen(OTTD2FS(file), mode)
const char *FS2OTTD(const char *name);