From: Wolfgang (Blub) Bumiller Date: Thu, 16 Aug 2012 12:05:04 +0000 (+0200) Subject: -_- file->filename X-Git-Tag: 0.1-rc1~258 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8dfba4db6df9e53e12b96fc5e5eaec9682ba0165;p=xonotic%2Fgmqcc.git -_- file->filename --- diff --git a/util.c b/util.c index d825ab2..58fa8fb 100644 --- a/util.c +++ b/util.c @@ -403,11 +403,11 @@ FILE *util_fopen(const char *filename, const char *mode) { #ifdef WIN32 FILE *out; - if (fopen_s(&out, file, mode) != 0) + if (fopen_s(&out, filename, mode) != 0) return NULL; return out; #else - return fopen(file, mode); + return fopen(filename, mode); #endif }