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:
Anna Schumaker 2016-03-22 09:36:32 -04:00
parent 5979d1dcaf
commit 76985c8842
1 changed files with 1 additions and 1 deletions

View File

@ -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;