diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2010-01-02 16:03:30 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2010-01-02 16:03:30 +0000 |
commit | 799a0a5cd4001954d8e0e855af4236e1f7b0898d (patch) | |
tree | c9d94e6fd588e1cfd2a97729ad05b486f6f30fe5 /apps/plugins/blackjack.c | |
parent | d03768bc14da12f940f01993bb6df1ffd8935fe7 (diff) | |
download | rockbox-799a0a5cd4001954d8e0e855af4236e1f7b0898d.tar.gz rockbox-799a0a5cd4001954d8e0e855af4236e1f7b0898d.zip |
Simplify some boolean expressions that compare directly against 'true'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24144 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/blackjack.c')
-rw-r--r-- | apps/plugins/blackjack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/blackjack.c b/apps/plugins/blackjack.c index 9096673bba..a7876c6e12 100644 --- a/apps/plugins/blackjack.c +++ b/apps/plugins/blackjack.c | |||
@@ -701,7 +701,7 @@ static void update_total(struct game_context* bj) { | |||
701 | static signed int check_for_aces(struct card temp_cards[], unsigned int size) { | 701 | static signed int check_for_aces(struct card temp_cards[], unsigned int size) { |
702 | unsigned int i; | 702 | unsigned int i; |
703 | for(i = 0; i < size; i++) { | 703 | for(i = 0; i < size; i++) { |
704 | if (temp_cards[i].is_soft_ace == true) | 704 | if (temp_cards[i].is_soft_ace) |
705 | return i; | 705 | return i; |
706 | } | 706 | } |
707 | return -1; | 707 | return -1; |