From 6c8f45b5f6eb2c94427078a4fb527f02d44b9f65 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 9 Dec 2018 15:07:44 -0800 Subject: Rename a couple global variables Avoid clashing with an enum name --- Alc/helpers.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Alc/helpers.cpp') 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); } -- cgit v1.2.3