summaryrefslogtreecommitdiff
path: root/src/queue.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-03-15 00:32:18 +0000
committerrubidium <rubidium@openttd.org>2009-03-15 00:32:18 +0000
commitb25a4f8231f3ded44038ea454a3d4c6a2dc9217d (patch)
tree776122508c686680b9c97f37ba3cb92ef905d67f /src/queue.cpp
parentd72273d1f3b55df0e301408d630f24ef92ea8479 (diff)
downloadopenttd-b25a4f8231f3ded44038ea454a3d4c6a2dc9217d.tar.xz
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
Diffstat (limited to 'src/queue.cpp')
-rw-r--r--src/queue.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/queue.cpp b/src/queue.cpp
index 50ce7d289..d2ab805e5 100644
--- a/src/queue.cpp
+++ b/src/queue.cpp
@@ -289,7 +289,7 @@ void init_BinaryHeap(Queue *q, uint max_size)
#endif
}
-// Because we don't want anyone else to bother with our defines
+/* Because we don't want anyone else to bother with our defines */
#undef BIN_HEAP_ARR
/*
@@ -502,14 +502,14 @@ void *Hash_Delete(Hash *h, uint key1, uint key2)
free(next);
#endif
} else {
- /* This was the last in this bucket */
- /* Mark it as empty */
+ /* This was the last in this bucket
+ * Mark it as empty */
uint hash = h->hash(key1, key2);
h->buckets_in_use[hash] = false;
}
} else {
- /* It is in another node */
- /* Save the value */
+ /* It is in another node
+ * Save the value */
result = node->value;
/* Link previous and next nodes */
prev->next = node->next;