mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-26 12:13:27 +01:00
Merge branch 'RomeroMalaquias-master'
This commit is contained in:
commit
36feebfe8d
@ -234,17 +234,17 @@ void* do_playing(void* _p)
|
||||
}
|
||||
|
||||
bool has_looping = false;
|
||||
bool test_active_notify = false;
|
||||
int i;
|
||||
|
||||
for (i = 0; i < ACTIVE_NOTIFS_MAX; i ++) {
|
||||
|
||||
if (actives[i].looping) has_looping = true;
|
||||
|
||||
if (actives[i].active && !actives[i].looping
|
||||
test_active_notify = actives[i].active && !actives[i].looping;
|
||||
#ifdef BOX_NOTIFY
|
||||
&& !actives[i].box
|
||||
test_active_notify = test_active_notify && !actives[i].box;
|
||||
#endif
|
||||
) {
|
||||
if (test_active_notify) {
|
||||
if(actives[i].id_indicator)
|
||||
*actives[i].id_indicator = -1; /* reset indicator value */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user