Mercurial > audlegacy-plugins
diff src/adplug/core/mid.cxx @ 2866:a31410f560cf
Sprinkle some braces to liven up the if-statements. The compiler likes it better now.
| author | Tony Vroon <chainsaw@gentoo.org> |
|---|---|
| date | Wed, 06 Aug 2008 22:56:25 +0100 |
| parents | fa9f85cebade |
| children |
line wrap: on
line diff
--- a/src/adplug/core/mid.cxx Wed Aug 06 11:48:18 2008 +0100 +++ b/src/adplug/core/mid.cxx Wed Aug 06 22:56:25 2008 +0100 @@ -328,11 +328,13 @@ break; case 0x84: if (s[1] == 0x00 && load_sierra_ins (filename, fp)) + { if (s[2] == 0xf0) good = FILE_ADVSIERRA; else good = FILE_SIERRA; break; + } default: if (s[4] == 'A' && s[5] == 'D') good = FILE_OLDLUCAS; @@ -900,10 +902,12 @@ midiprintf ("\n"); for (i = 0; i < 16; i++) if (track[i].on) + { if (track[i].pos < track[i].tend) midiprintf ("<%d>", track[i].iwait); else midiprintf ("stop"); + } /* if (ret==0 && type==FILE_ADVSIERRA)
