mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-22 21:43:02 +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 test_active_notify = false;
|
||||
bool test_active_notify = false;
|
||||
int i;
|
||||
|
||||
for (i = 0; i < ACTIVE_NOTIFS_MAX; i ++) {
|
||||
|
||||
if (actives[i].looping) has_looping = true;
|
||||
test_active_notify = actives[i].active && !actives[i].looping;
|
||||
#ifdef BOX_NOTIFY
|
||||
test_active_notify = actives[i].active && !actives[i].looping;
|
||||
#ifdef BOX_NOTIFY
|
||||
test_active_notify = test_active_notify && !actives[i].box;
|
||||
#endif
|
||||
if (test_active_notify) {
|
||||
|
Loading…
Reference in New Issue
Block a user