From 28442cce9fa4a91c38d87c4a61b6ff6af4f97a67 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 13 Oct 2009 16:43:06 +0200 Subject: queue: no CamelCase Renamed idToPosition. --- src/queue.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/queue.h') diff --git a/src/queue.h b/src/queue.h index 9c7228fd8..032a812c2 100644 --- a/src/queue.h +++ b/src/queue.h @@ -74,8 +74,8 @@ struct queue { /** map order numbers to positions */ unsigned *order; - /** map song ids to posiitons */ - int *idToPosition; + /** map song ids to positions */ + int *id_to_position; /** repeat playback when the end of the queue has been reached? */ @@ -146,10 +146,10 @@ queue_id_to_position(const struct queue *queue, unsigned id) if (id >= queue->max_length * QUEUE_HASH_MULT) return -1; - assert(queue->idToPosition[id] >= -1); - assert(queue->idToPosition[id] < (int)queue->length); + assert(queue->id_to_position[id] >= -1); + assert(queue->id_to_position[id] < (int)queue->length); - return queue->idToPosition[id]; + return queue->id_to_position[id]; } static inline int -- cgit v1.2.3