mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-12-11 21:11:09 +00:00
-_- file->filename
This commit is contained in:
parent
0d9435d326
commit
8dfba4db6d
1 changed files with 2 additions and 2 deletions
4
util.c
4
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue