gui: Fix setting Q_RANDOM flag
I had the condition reversed for enabling random on temporary queues, so the flag was getting set whenever I didn't want it. Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
This commit is contained in:
parent
5979d1dcaf
commit
76985c8842
|
@ -201,7 +201,7 @@ void Tab :: tab_queue_add(queue *pq)
|
|||
|
||||
bool Tab :: tab_queue_selected(bool random)
|
||||
{
|
||||
unsigned int flags = random ? 0 : Q_RANDOM;
|
||||
unsigned int flags = random ? Q_RANDOM : 0;
|
||||
if (tempq_count() >= 10)
|
||||
return true;
|
||||
|
||||
|
|
Loading…
Reference in New Issue