mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-22 21:53:05 +01:00
Avoiding conditional directives that split up parts os statements
This commit is contained in:
parent
fd6432c727
commit
3fe9abd84d
@ -234,14 +234,14 @@ void* do_playing(void* _p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool has_looping = false;
|
bool has_looping = false;
|
||||||
bool test_active_notify = false;
|
bool test_active_notify = false;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i < ACTIVE_NOTIFS_MAX; i ++) {
|
for (i = 0; i < ACTIVE_NOTIFS_MAX; i ++) {
|
||||||
|
|
||||||
if (actives[i].looping) has_looping = true;
|
if (actives[i].looping) has_looping = true;
|
||||||
test_active_notify = actives[i].active && !actives[i].looping;
|
test_active_notify = actives[i].active && !actives[i].looping;
|
||||||
#ifdef BOX_NOTIFY
|
#ifdef BOX_NOTIFY
|
||||||
test_active_notify = test_active_notify && !actives[i].box;
|
test_active_notify = test_active_notify && !actives[i].box;
|
||||||
#endif
|
#endif
|
||||||
if (test_active_notify) {
|
if (test_active_notify) {
|
||||||
|
Loading…
Reference in New Issue
Block a user