From 45703455342ced95bbbc9ee20b91716531e63b48 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 16 Sep 2015 18:20:28 -0700 Subject: Return the data file handle on Windows if it was opened --- Alc/helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc') 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 -- cgit v1.2.3