forked from len0rd/rockbox
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:
parent
e35a15cf54
commit
5c4ef78cc9
8 changed files with 10 additions and 12 deletions
|
|
@ -53,7 +53,7 @@ int tuner_set(int setting, int value)
|
|||
break;
|
||||
|
||||
case RADIO_FORCE_MONO:
|
||||
mono = value?true:false;
|
||||
mono = (value != 0);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue