mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-12-04 01:21:52 +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
|
#ifdef WIN32
|
||||||
FILE *out;
|
FILE *out;
|
||||||
if (fopen_s(&out, file, mode) != 0)
|
if (fopen_s(&out, filename, mode) != 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
return out;
|
return out;
|
||||||
#else
|
#else
|
||||||
return fopen(file, mode);
|
return fopen(filename, mode);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue