diff options
author | rubidium <rubidium@openttd.org> | 2014-09-06 17:20:45 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2014-09-06 17:20:45 +0000 |
commit | 7a00d2e8493913b3520e431b4e31b6688b3f79f5 (patch) | |
tree | 24771ee9d209d311747b3279bb0f27999af864b9 /src/stdafx.h | |
parent | e76e6efd177c97d24062e82028174fc3c33c5600 (diff) | |
download | openttd-7a00d2e8493913b3520e431b4e31b6688b3f79f5.tar.xz |
(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
Diffstat (limited to 'src/stdafx.h')
-rw-r--r-- | src/stdafx.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stdafx.h b/src/stdafx.h index d0e6fb30a..cbf2d69f6 100644 --- a/src/stdafx.h +++ b/src/stdafx.h @@ -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); |