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 /uisimulator/common | |
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 'uisimulator/common')
-rw-r--r-- | uisimulator/common/fmradio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/common/fmradio.c b/uisimulator/common/fmradio.c index 3fd61b6f4a..64bd7f1f91 100644 --- a/uisimulator/common/fmradio.c +++ b/uisimulator/common/fmradio.c | |||
@@ -53,7 +53,7 @@ int tuner_set(int setting, int value) | |||
53 | break; | 53 | break; |
54 | 54 | ||
55 | case RADIO_FORCE_MONO: | 55 | case RADIO_FORCE_MONO: |
56 | mono = value?true:false; | 56 | mono = (value != 0); |
57 | break; | 57 | break; |
58 | 58 | ||
59 | default: | 59 | default: |