aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorChristoph Mallon2012-03-13 10:40:41 +0100
committerAlyssa Milburn2012-03-13 15:43:36 +0100
commit75efdd2d84e21f5d3d01afcc89d61289ae87e4a2 (patch)
treef62ab385a4a0a483b894f91709dc7764bcec79ab /gui
parent337d5da913477889e9b2312ecce02e52c5ddf803 (diff)
downloadscummvm-rg350-75efdd2d84e21f5d3d01afcc89d61289ae87e4a2.tar.gz
scummvm-rg350-75efdd2d84e21f5d3d01afcc89d61289ae87e4a2.tar.bz2
scummvm-rg350-75efdd2d84e21f5d3d01afcc89d61289ae87e4a2.zip
JANITORIAL: Replace (x ? false : true) by !(x).
Diffstat (limited to 'gui')
-rw-r--r--gui/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/options.cpp b/gui/options.cpp
index 5085f9cdd9..3a16bddd7c 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -1010,7 +1010,7 @@ bool OptionsDialog::loadMusicDeviceSetting(PopUpWidget *popup, Common::String se
for (MusicDevices::iterator d = i.begin(); d != i.end(); ++d) {
if (setting.empty() ? (preferredType == d->getMusicType()) : (drv == d->getCompleteId())) {
popup->setSelectedTag(d->getHandle());
- return popup->getSelected() == -1 ? false : true;
+ return popup->getSelected() != -1;
}
}
}