Simplify some expressions using the ? operator

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24136 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2010-01-01 22:47:25 +00:00
parent e35a15cf54
commit 5c4ef78cc9
8 changed files with 10 additions and 12 deletions

View file

@ -693,7 +693,7 @@ static int clix_handle_game(struct clix_game_state_t* state)
while(true)
{
if (TIME_AFTER(*rb->current_tick, blink_tick)) {
state->blink = state->blink ? false : true;
state->blink = !state->blink;
blink_tick = *rb->current_tick + BLINK_TICKCOUNT;
}