summaryrefslogtreecommitdiff
path: root/src/stdafx.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-01-18 15:41:38 +0000
committerrubidium <rubidium@openttd.org>2010-01-18 15:41:38 +0000
commitb1bd1067032c51a8d88818488c924c82a8678454 (patch)
treebaffff9722b0568418812cc9eff052edae02f715 /src/stdafx.h
parenta39a446e8faf99568eb8924535fd0034db00bb8e (diff)
downloadopenttd-b1bd1067032c51a8d88818488c924c82a8678454.tar.xz
(svn r18862) -Fix [FS#3544]: don't pass AI strings through iconv
Diffstat (limited to 'src/stdafx.h')
-rw-r--r--src/stdafx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stdafx.h b/src/stdafx.h
index 0b4a0ad8b..38d09b547 100644
--- a/src/stdafx.h
+++ b/src/stdafx.h
@@ -242,10 +242,14 @@
const char *FS2OTTD(const TCHAR *name);
const TCHAR *OTTD2FS(const char *name);
+ #define SQ2OTTD(name) FS2OTTD(name)
+ #define OTTD2SQ(name) OTTD2FS(name)
#else
#define fopen(file, mode) fopen(OTTD2FS(file), mode)
const char *FS2OTTD(const char *name);
const char *OTTD2FS(const char *name);
+ #define SQ2OTTD(name) (name)
+ #define OTTD2SQ(name) (name)
#endif /* WIN32 */
#endif /* STRGEN */