aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alMain.h2
-rw-r--r--OpenAL32/alThunk.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index e10201be..092da0da 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -552,7 +552,7 @@ extern enum LogLevel LogLevel;
AL_PRINT(__VA_ARGS__); \
} while(0)
-#define ERROR(...) do { \
+#define ERR(...) do { \
if(LogLevel >= LogError) \
AL_PRINT(__VA_ARGS__); \
} while(0)
diff --git a/OpenAL32/alThunk.c b/OpenAL32/alThunk.c
index b925175c..e4e99a2c 100644
--- a/OpenAL32/alThunk.c
+++ b/OpenAL32/alThunk.c
@@ -70,7 +70,7 @@ ALenum alThunkAddEntry(ALvoid *ptr, ALuint *idx)
if(!NewList)
{
LeaveCriticalSection(&g_ThunkLock);
- ERROR("Realloc failed to increase to %u enties!\n", g_ThunkArraySize*2);
+ ERR("Realloc failed to increase to %u enties!\n", g_ThunkArraySize*2);
return AL_OUT_OF_MEMORY;
}
memset(&NewList[g_ThunkArraySize], 0, g_ThunkArraySize*sizeof(ThunkEntry));