diff options
author | Chris Robinson <[email protected]> | 2015-09-16 18:20:28 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2015-09-16 18:20:28 -0700 |
commit | 45703455342ced95bbbc9ee20b91716531e63b48 (patch) | |
tree | c616addcef8d6293a72a26d0ed941e23e132b311 | |
parent | 3c728657758e59ecb2c488580bf61b91bb1a1449 (diff) |
Return the data file handle on Windows if it was opened
-rw-r--r-- | Alc/helpers.c | 2 |
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 |