diff options
author | Chris Robinson <[email protected]> | 2018-12-09 15:07:44 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-12-09 15:07:44 -0800 |
commit | 6c8f45b5f6eb2c94427078a4fb527f02d44b9f65 (patch) | |
tree | b367e3f1035290ae0cdafeeb54965c522fce05aa /Alc/helpers.cpp | |
parent | d7d98708391e4701f3e27794982af55436ba6d41 (diff) |
Rename a couple global variables
Avoid clashing with an enum name
Diffstat (limited to 'Alc/helpers.cpp')
-rw-r--r-- | Alc/helpers.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Alc/helpers.cpp b/Alc/helpers.cpp index 8a2a851d..a46e857f 100644 --- a/Alc/helpers.cpp +++ b/Alc/helpers.cpp @@ -370,8 +370,8 @@ void al_print(const char *type, const char *func, const char *fmt, ...) str[sizeof(str)-1] = 0; std::wstring wstr{utf8_to_wstr(str)}; - fprintf(LogFile, "AL lib: %s %s: %ls", type, func, wstr.c_str()); - fflush(LogFile); + fprintf(gLogFile, "AL lib: %s %s: %ls", type, func, wstr.c_str()); + fflush(gLogFile); } @@ -589,11 +589,11 @@ void al_print(const char *type, const char *func, const char *fmt, ...) va_list ap; va_start(ap, fmt); - fprintf(LogFile, "AL lib: %s %s: ", type, func); - vfprintf(LogFile, fmt, ap); + fprintf(gLogFile, "AL lib: %s %s: ", type, func); + vfprintf(gLogFile, fmt, ap); va_end(ap); - fflush(LogFile); + fflush(gLogFile); } |