[Scummvm-cvs-logs] SF.net SVN: scummvm:[50152] scummvm/trunk/sound/mididrv.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Tue Jun 22 18:42:50 CEST 2010
Revision: 50152
http://scummvm.svn.sourceforge.net/scummvm/?rev=50152&view=rev
Author: lordhoto
Date: 2010-06-22 16:42:49 +0000 (Tue, 22 Jun 2010)
Log Message:
-----------
Remove some trailing tabs.
Modified Paths:
--------------
scummvm/trunk/sound/mididrv.cpp
Modified: scummvm/trunk/sound/mididrv.cpp
===================================================================
--- scummvm/trunk/sound/mididrv.cpp 2010-06-22 16:10:16 UTC (rev 50151)
+++ scummvm/trunk/sound/mididrv.cpp 2010-06-22 16:42:49 UTC (rev 50152)
@@ -63,7 +63,7 @@
MT_ADLIB, Common::GUIO_MIDIADLIB,
MT_TOWNS, Common::GUIO_MIDITOWNS,
MT_GM, Common::GUIO_MIDIGM,
- MT_MT32, Common::GUIO_MIDIMT32,
+ MT_MT32, Common::GUIO_MIDIMT32,
0, 0
};
@@ -135,7 +135,7 @@
return hdl;
break;
- case MT_PCJR:
+ case MT_PCJR:
if (flags & MDT_PCJR)
return hdl;
break;
@@ -179,7 +179,7 @@
return hdl;
}
-
+
// If we have no specific device selected (neither in the scummvm nor in the game domain)
// and no preferred MT32 or GM device selected we arrive here.
// If MT32 is preferred we try for the first available device with music type 'MT_MT32' (usually the mt32 emulator)
@@ -192,7 +192,7 @@
}
}
}
-
+
// Now we default to the first available device with music type 'MT_GM'
for (MusicPlugin::List::const_iterator m = p.begin(); m != p.end(); m++) {
MusicDevices i = (**m)->getDevices();
@@ -202,8 +202,8 @@
}
}
}
-
- MusicType tp = MT_NULL;
+
+ MusicType tp = MT_NULL;
if (flags & MDT_TOWNS)
tp = MT_TOWNS;
else if (flags & MDT_ADLIB)
@@ -232,6 +232,7 @@
if (getDeviceString(handle, MidiDriver::kDriverId).equals((**m)->getId()))
(**m)->createInstance(&driver, handle);
}
+
return driver;
}
@@ -243,7 +244,7 @@
if (identifier.equals(d->getCompleteId()) || identifier.equals(d->getCompleteName()))
return d->getHandle();
}
- }
+ }
return getDeviceHandle("auto");
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list