This commit is contained in:
twinaphex 2016-01-23 22:00:45 +01:00
parent 97e5d5c61b
commit f4b22f9fdd

View File

@ -48,7 +48,7 @@ static void task_queue_put(task_queue_t *queue, rarch_task_t *task)
{
task->next = NULL;
if (queue->front == NULL)
if (!queue->front)
queue->front = task;
else
queue->back->next = task;