(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)
This commit is contained in:
Darkvater
2006-12-09 10:56:12 +00:00
parent 9a0917141b
commit f87c8834e2
17 changed files with 105 additions and 105 deletions

View File

@@ -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