summaryrefslogtreecommitdiff
path: root/os2.c
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2006-11-28 14:42:31 +0000
committerDarkvater <Darkvater@openttd.org>2006-11-28 14:42:31 +0000
commitbf907c8d3c3b3248c3ae6988860fb4b291eae550 (patch)
tree4cbabbc256d401dc659eee0bfc25178f517648c3 /os2.c
parent051454304d859ac21aae4766f0fa2936c23c26e0 (diff)
downloadopenttd-bf907c8d3c3b3248c3ae6988860fb4b291eae550.tar.xz
(svn r7274) -Codechange [utf8]: Add input/output unicode support. This actually only changes win32
since it uses UTF16 for file access. To keep os-specific code to a minimum, OpenTTD uses UTF8 internally everywhere, converting to OS-type when needed (save/load/screenshot/etc.)
Diffstat (limited to 'os2.c')
-rw-r--r--os2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/os2.c b/os2.c
index de8cc661e..df97c4533 100644
--- a/os2.c
+++ b/os2.c
@@ -261,3 +261,6 @@ void CSleep(int milliseconds)
{
delay(milliseconds);
}
+
+const char *FS2OTTD(const char *name) {return name;}
+const char *OTTD2FS(const char *name) {return name;}