aboutsummaryrefslogtreecommitdiffstats
path: root/src/queue.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-13 16:43:06 +0200
committerMax Kellermann <max@duempel.org>2009-10-13 16:43:06 +0200
commit28442cce9fa4a91c38d87c4a61b6ff6af4f97a67 (patch)
tree8aa879ec37d49d1344d1a00cef8b2fc69d05daca /src/queue.h
parentf122e6d45618789741e36804b16a056d1e18818f (diff)
downloadmpd-28442cce9fa4a91c38d87c4a61b6ff6af4f97a67.tar.gz
mpd-28442cce9fa4a91c38d87c4a61b6ff6af4f97a67.tar.xz
mpd-28442cce9fa4a91c38d87c4a61b6ff6af4f97a67.zip
queue: no CamelCase
Renamed idToPosition.
Diffstat (limited to '')
-rw-r--r--src/queue.h10
1 files changed, 5 insertions, 5 deletions
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