summaryrefslogtreecommitdiff
path: root/gfxinit.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-12-09 10:56:12 +0000
committerDarkvater <darkvater@openttd.org>2006-12-09 10:56:12 +0000
commitf87c8834e23188f27cd1fd1626c040d3ebafb998 (patch)
tree821bb8da5168e61028bf8fc5f43ea46f076a70e9 /gfxinit.c
parent9a0917141b99cea7703e28af3c46cdbc86f23629 (diff)
downloadopenttd-f87c8834e23188f27cd1fd1626c040d3ebafb998.tar.xz
(svn r7449) -Codechange: Rename _path to _paths as it is technically more correct, but mainly because
it interferes with OS/2 symbol in libc (psmedley)
Diffstat (limited to 'gfxinit.c')
-rw-r--r--gfxinit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gfxinit.c b/gfxinit.c
index 24d2027f0..1ac0a30d6 100644
--- a/gfxinit.c
+++ b/gfxinit.c
@@ -111,12 +111,12 @@ static bool FileMD5(const MD5File file, bool warn)
char buf[MAX_PATH];
// open file
- snprintf(buf, lengthof(buf), "%s%s", _path.data_dir, file.filename);
+ snprintf(buf, lengthof(buf), "%s%s", _paths.data_dir, file.filename);
f = fopen(buf, "rb");
#if !defined(WIN32)
if (f == NULL) {
- strtolower(buf + strlen(_path.data_dir) - 1);
+ strtolower(buf + strlen(_paths.data_dir) - 1);
f = fopen(buf, "rb");
}
#endif