summaryrefslogtreecommitdiffstats
path: root/apps/gui/pitchscreen.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2009-05-21 14:15:24 +0000
committerBertrik Sikken <bertrik@sikken.nl>2009-05-21 14:15:24 +0000
commitab222c170562ba2f89827c2e3185ae359eface76 (patch)
tree3dfcdf8a5b7a267b153c72533a894d4aaa47fe8e /apps/gui/pitchscreen.c
parenta968ddbb39e246e6eec744fff4b7650dfa8e2791 (diff)
downloadrockbox-ab222c170562ba2f89827c2e3185ae359eface76.tar.gz
rockbox-ab222c170562ba2f89827c2e3185ae359eface76.tar.bz2
rockbox-ab222c170562ba2f89827c2e3185ae359eface76.zip
Simplify some redundant boolean expressions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21013 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/pitchscreen.c')
-rw-r--r--apps/gui/pitchscreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/pitchscreen.c b/apps/gui/pitchscreen.c
index 05eb1d48ac..485eb7861c 100644
--- a/apps/gui/pitchscreen.c
+++ b/apps/gui/pitchscreen.c
@@ -351,7 +351,7 @@ int gui_syncpitchscreen_run(void)
if (pitch_mode == PITCH_MODE_ABSOLUTE) {
pitch = pitch_increase(pitch, delta, true);
} else {
- pitch = pitch_increase_semitone(pitch, delta > 0 ? true:false);
+ pitch = pitch_increase_semitone(pitch, delta > 0);
}
delta = 0;