From 7edc576e9ce9adc62560d9f8c87488747671ce77 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 15 Jan 2008 15:37:54 -0800 Subject: [PATCH] Fix some copy/paste errors --- OpenAL32/alAuxEffectSlot.c | 2 +- OpenAL32/alEffect.c | 2 +- OpenAL32/alFilter.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c index 282b8030..2b77e063 100644 --- a/OpenAL32/alAuxEffectSlot.c +++ b/OpenAL32/alAuxEffectSlot.c @@ -47,7 +47,7 @@ AL_API ALvoid AL_APIENTRY alGenAuxiliaryEffectSlots(ALsizei n, ALuint *effectslo /* NOTE: We only support one slot currently */ if(n == 1 && g_AuxiliaryEffectSlotCount == 0) { - // Check that enough memory has been allocted in the 'sources' array for n Sources + // Check that enough memory has been allocted in the 'effectslots' array for n Effect Slots if (!IsBadWritePtr((void*)effectslots, n * sizeof(ALuint))) { ALeffectslot **list = &g_AuxiliaryEffectSlotList; diff --git a/OpenAL32/alEffect.c b/OpenAL32/alEffect.c index 97778f9e..9c61adab 100644 --- a/OpenAL32/alEffect.c +++ b/OpenAL32/alEffect.c @@ -46,7 +46,7 @@ AL_API ALvoid AL_APIENTRY alGenEffects(ALsizei n, ALuint *effects) if (n > 0) { - // Check that enough memory has been allocted in the 'sources' array for n Sources + // Check that enough memory has been allocted in the 'effects' array for n Effects if (!IsBadWritePtr((void*)effects, n * sizeof(ALuint))) { ALeffect **list = &g_EffectList; diff --git a/OpenAL32/alFilter.c b/OpenAL32/alFilter.c index 0753d799..14247fc3 100644 --- a/OpenAL32/alFilter.c +++ b/OpenAL32/alFilter.c @@ -46,7 +46,7 @@ AL_API ALvoid AL_APIENTRY alGenFilters(ALsizei n, ALuint *filters) if (n > 0) { - // Check that enough memory has been allocted in the 'sources' array for n Sources + // Check that enough memory has been allocted in the 'filters' array for n Filters if (!IsBadWritePtr((void*)filters, n * sizeof(ALuint))) { ALfilter **list = &g_FilterList; -- 2.11.4.GIT