diff options
author | Chris Robinson <[email protected]> | 2011-07-13 01:43:00 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-07-13 01:43:00 -0700 |
commit | 17773c56449475c1d255d839b89400668f15f40f (patch) | |
tree | 8907c354b007a6ac38e5d2b8b5b1c2f7312107a0 /OpenAL32 | |
parent | e1e47c6e437b58a07cc447cf212dd6ec61fdfbc0 (diff) |
Rename the ERROR macro to ERR
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alMain.h | 2 | ||||
-rw-r--r-- | OpenAL32/alThunk.c | 2 |
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)); |