aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/hrtf.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-04-15 12:22:54 -0700
committerChris Robinson <[email protected]>2016-04-15 12:22:54 -0700
commitf4ff5fc106f39ad30cdf72eade4bade649777a85 (patch)
tree2e52d33715b9c2e4a59acb96c04aa334b1bec380 /Alc/hrtf.c
parentd5e624391ba712779e41f2719b47bbbaca588b50 (diff)
Shorten VECTOR_ITER_ macros to VECTOR_
Diffstat (limited to 'Alc/hrtf.c')
-rw-r--r--Alc/hrtf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/hrtf.c b/Alc/hrtf.c
index 49c9793b..9549c010 100644
--- a/Alc/hrtf.c
+++ b/Alc/hrtf.c
@@ -595,7 +595,7 @@ static void AddFileEntry(vector_HrtfEntry *list, al_string *filename)
#define MATCH_NAME(i) (al_string_cmp(entry.name, (i)->name) == 0)
VECTOR_FIND_IF(iter, const HrtfEntry, *list, MATCH_NAME);
#undef MATCH_NAME
- } while(iter != VECTOR_ITER_END(*list));
+ } while(iter != VECTOR_END(*list));
TRACE("Adding entry \"%s\" from file \"%s\"\n", al_string_get_cstr(entry.name),
al_string_get_cstr(*filename));
@@ -667,11 +667,11 @@ vector_HrtfEntry EnumerateHrtf(const_al_string devname)
/* Find the preferred HRTF and move it to the front of the list. */
#define FIND_ENTRY(i) (al_string_cmp_cstr((i)->name, defaulthrtf) == 0)
VECTOR_FIND_IF(iter, const HrtfEntry, list, FIND_ENTRY);
- if(iter != VECTOR_ITER_END(list) && iter != VECTOR_ITER_BEGIN(list))
+ if(iter != VECTOR_END(list) && iter != VECTOR_BEGIN(list))
{
HrtfEntry entry = *iter;
memmove(&VECTOR_ELEM(list,1), &VECTOR_ELEM(list,0),
- (iter-VECTOR_ITER_BEGIN(list))*sizeof(HrtfEntry));
+ (iter-VECTOR_BEGIN(list))*sizeof(HrtfEntry));
VECTOR_ELEM(list,0) = entry;
}
else