aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/helpers.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-03-21 14:03:26 -0700
committerChris Robinson <[email protected]>2014-03-21 14:03:26 -0700
commit983fa4630a8ba68f2e446cc0b05234fd5399c9bd (patch)
tree2689c13e32ae6c81d47cab3f20c3f5faaadf4754 /Alc/helpers.c
parent40a0692a1c9cc022c224577a3806ae9f0599695f (diff)
Rename the vector's Max field to Capacity
Diffstat (limited to 'Alc/helpers.c')
-rw-r--r--Alc/helpers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/helpers.c b/Alc/helpers.c
index 80aab889..69c49db1 100644
--- a/Alc/helpers.c
+++ b/Alc/helpers.c
@@ -709,13 +709,13 @@ ALboolean vector_reserve(void *ptr, size_t orig_count, size_t base_size, size_t
void *temp;
/* Need to be explicit with the caller type's base size, because it
- * could have extra padding between the count and array start (that is,
+ * could have extra padding before the start of the array (that is,
* sizeof(*vector_) may not equal base_size). */
temp = realloc(*vecptr, base_size + obj_size*obj_count);
if(temp == NULL) return AL_FALSE;
*vecptr = temp;
- (*vecptr)->Max = obj_count;
+ (*vecptr)->Capacity = obj_count;
}
return AL_TRUE;
}