diff options
author | Darkvater <darkvater@openttd.org> | 2006-12-09 10:56:12 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-12-09 10:56:12 +0000 |
commit | f87c8834e23188f27cd1fd1626c040d3ebafb998 (patch) | |
tree | 821bb8da5168e61028bf8fc5f43ea46f076a70e9 /gfxinit.c | |
parent | 9a0917141b99cea7703e28af3c46cdbc86f23629 (diff) | |
download | openttd-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |