diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2010-01-01 22:47:25 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2010-01-01 22:47:25 +0000 |
commit | 5c4ef78cc983212a0c2e0868929aa2b699855087 (patch) | |
tree | 6bf9a1e14b5aaf4961561673ee4ef364b3790562 /apps/plugins/clix.c | |
parent | e35a15cf54a104ff58ee889112d5040654f85ccc (diff) | |
download | rockbox-5c4ef78cc983212a0c2e0868929aa2b699855087.tar.gz rockbox-5c4ef78cc983212a0c2e0868929aa2b699855087.zip |
Simplify some expressions using the ? operator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24136 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/clix.c')
-rw-r--r-- | apps/plugins/clix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/clix.c b/apps/plugins/clix.c index e5f65ce36c..6fa6931300 100644 --- a/apps/plugins/clix.c +++ b/apps/plugins/clix.c | |||
@@ -693,7 +693,7 @@ static int clix_handle_game(struct clix_game_state_t* state) | |||
693 | while(true) | 693 | while(true) |
694 | { | 694 | { |
695 | if (TIME_AFTER(*rb->current_tick, blink_tick)) { | 695 | if (TIME_AFTER(*rb->current_tick, blink_tick)) { |
696 | state->blink = state->blink ? false : true; | 696 | state->blink = !state->blink; |
697 | blink_tick = *rb->current_tick + BLINK_TICKCOUNT; | 697 | blink_tick = *rb->current_tick + BLINK_TICKCOUNT; |
698 | } | 698 | } |
699 | 699 | ||