summaryrefslogtreecommitdiff
path: root/gfxinit.c
diff options
context:
space:
mode:
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