[Scummvm-cvs-logs] SF.net SVN: scummvm:[46960] scummvm/trunk/engines/sci/sfx/softseq/adlib.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sun Jan 3 23:54:52 CET 2010
Revision: 46960
http://scummvm.svn.sourceforge.net/scummvm/?rev=46960&view=rev
Author: thebluegr
Date: 2010-01-03 22:54:51 +0000 (Sun, 03 Jan 2010)
Log Message:
-----------
Code beautification (fixes a false positive, too)
Modified Paths:
--------------
scummvm/trunk/engines/sci/sfx/softseq/adlib.cpp
Modified: scummvm/trunk/engines/sci/sfx/softseq/adlib.cpp
===================================================================
--- scummvm/trunk/engines/sci/sfx/softseq/adlib.cpp 2010-01-03 22:50:39 UTC (rev 46959)
+++ scummvm/trunk/engines/sci/sfx/softseq/adlib.cpp 2010-01-03 22:54:51 UTC (rev 46960)
@@ -813,10 +813,7 @@
}
int MidiPlayer_Adlib::getPlayMask(SciVersion soundVersion) {
- if (soundVersion == SCI_VERSION_0_EARLY)
- return 0x01;
-
- return 0x04;
+ return (soundVersion == SCI_VERSION_0_EARLY) ? 0x01 : 0x04;
}
MidiPlayer *MidiPlayer_Adlib_create() {
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