diff options
author | Eugene Sandulenko | 2010-08-11 19:32:07 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-08-11 19:32:07 +0000 |
commit | ff8b296c299d01dd1e7670e6c6d38e12b4c1f3e6 (patch) | |
tree | 4b7cfdae50122f6dcddeb3055cde9dbb288baf84 /gui | |
parent | 581935dda41a40d4862ceb28f2afac8e3d766fea (diff) | |
download | scummvm-rg350-ff8b296c299d01dd1e7670e6c6d38e12b4c1f3e6.tar.gz scummvm-rg350-ff8b296c299d01dd1e7670e6c6d38e12b4c1f3e6.tar.bz2 scummvm-rg350-ff8b296c299d01dd1e7670e6c6d38e12b4c1f3e6.zip |
Use tabs instead of spaces for indentation.
svn-id: r51997
Diffstat (limited to 'gui')
-rw-r--r-- | gui/options.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gui/options.cpp b/gui/options.cpp index 69e92bf5eb..4969f8ef3f 100644 --- a/gui/options.cpp +++ b/gui/options.cpp @@ -673,15 +673,15 @@ void OptionsDialog::addAudioControls(GuiObject *boss, const Common::String &pref const uint32 deviceGuiOption = MidiDriver::musicType2GUIO(d->getMusicType()); if ((_domain == Common::ConfigManager::kApplicationDomain && d->getMusicType() != MT_TOWNS // global dialog - skip useless FM-Towns, C64, Amiga, AppleIIGS options there - && d->getMusicType() != MT_C64 && d->getMusicType() != MT_AMIGA && d->getMusicType() != MT_APPLEIIGS) - || (_domain != Common::ConfigManager::kApplicationDomain && !(_guioptions & allFlags)) // No flags are specified - || (_guioptions & deviceGuiOption) // flag is present - // HACK/FIXME: For now we have to show GM devices, even when the game only has GUIO_MIDIMT32 set, - // else we would not show for example external devices connected via ALSA, since they are always - // marked as General MIDI device. - || (deviceGuiOption == Common::GUIO_MIDIGM && (_guioptions & Common::GUIO_MIDIMT32)) - || d->getMusicDriverId() == "auto" || d->getMusicDriverId() == "null") // always add default and null device - _midiPopUp->appendEntry(d->getCompleteName(), d->getHandle()); + && d->getMusicType() != MT_C64 && d->getMusicType() != MT_AMIGA && d->getMusicType() != MT_APPLEIIGS) + || (_domain != Common::ConfigManager::kApplicationDomain && !(_guioptions & allFlags)) // No flags are specified + || (_guioptions & deviceGuiOption) // flag is present + // HACK/FIXME: For now we have to show GM devices, even when the game only has GUIO_MIDIMT32 set, + // else we would not show for example external devices connected via ALSA, since they are always + // marked as General MIDI device. + || (deviceGuiOption == Common::GUIO_MIDIGM && (_guioptions & Common::GUIO_MIDIMT32)) + || d->getMusicDriverId() == "auto" || d->getMusicDriverId() == "null") // always add default and null device + _midiPopUp->appendEntry(d->getCompleteName(), d->getHandle()); } } |