From 4371c841aca13d5413e52ef57365b974772b140a Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 10 Jan 2004 06:11:41 +0000 Subject: [PATCH] more consistency fixes --- libs/util/qfplist.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/util/qfplist.c b/libs/util/qfplist.c index 73522359b..036c6d044 100644 --- a/libs/util/qfplist.c +++ b/libs/util/qfplist.c @@ -180,14 +180,14 @@ PL_D_AllKeys (plitem_t *dict) } plitem_t * -PL_ObjectAtIndex (plitem_t *item, int index) +PL_ObjectAtIndex (plitem_t *array, int index) { - plarray_t *array = (plarray_t *) item->data; + plarray_t *arr = (plarray_t *) array->data; - if (item->type != QFArray) + if (array->type != QFArray) return NULL; - return index >= 0 && index < array->numvals ? array->values[index] : NULL; + return index >= 0 && index < arr->numvals ? arr->values[index] : NULL; } qboolean