forked from Telodendria/Telodendria
Format code.
This commit is contained in:
parent
de00c3cb37
commit
8657008e94
1 changed files with 4 additions and 4 deletions
|
@ -119,10 +119,10 @@ QueuePush(Queue * q, void *element)
|
||||||
{
|
{
|
||||||
q->rear = 0;
|
q->rear = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
q->rear = (q->rear + 1) % q->size;
|
q->rear = (q->rear + 1) % q->size;
|
||||||
}
|
}
|
||||||
|
|
||||||
q->items[q->rear] = element;
|
q->items[q->rear] = element;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue