aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/helpers.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-09-16 18:20:28 -0700
committerChris Robinson <[email protected]>2015-09-16 18:20:28 -0700
commit45703455342ced95bbbc9ee20b91716531e63b48 (patch)
treec616addcef8d6293a72a26d0ed941e23e132b311 /Alc/helpers.c
parent3c728657758e59ecb2c488580bf61b91bb1a1449 (diff)
Return the data file handle on Windows if it was opened
Diffstat (limited to 'Alc/helpers.c')
-rw-r--r--Alc/helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/helpers.c b/Alc/helpers.c
index 674c7eb6..43889d5d 100644
--- a/Alc/helpers.c
+++ b/Alc/helpers.c
@@ -526,7 +526,7 @@ FILE *OpenDataFile(const char *fname, const char *subdir)
if(f == NULL)
WARN("Could not open %s\\%s\n", subdir, fname);
- return NULL;
+ return f;
}
#else