Mercurial > hg > dmlib
comparison tools/xm2jss.c @ 1116:9d78c880c6e1
Cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 04 Mar 2015 02:04:40 +0200 |
parents | bfed0d5f8e8b |
children | de25e0f2b856 |
comparison
equal
deleted
inserted
replaced
1115:bfed0d5f8e8b | 1116:9d78c880c6e1 |
---|---|
917 if (!optStripExtInstr) | 917 if (!optStripExtInstr) |
918 { | 918 { |
919 if (n->instrument >= 0 && n->instrument < jsetMaxInstruments) | 919 if (n->instrument >= 0 && n->instrument < jsetMaxInstruments) |
920 n->instrument = mapExtInstruments[n->instrument]; | 920 n->instrument = mapExtInstruments[n->instrument]; |
921 | 921 |
922 if (n->instrument != jsetNotSet && r->extInstruments[n->instrument] == NULL) | 922 if (n->instrument != jsetNotSet && |
923 r->extInstruments[n->instrument] == NULL) | |
923 { | 924 { |
924 dmErrorMsg("Non-existing instrument used #%d.\n", | 925 dmErrorMsg("Non-existing instrument used #%d, INTERNAL ERROR.\n", |
925 n->instrument + 1); | 926 n->instrument + 1); |
926 } | 927 } |
927 } | 928 } |
928 | 929 |
929 JMPGETEFFECT(effect, n->effect); | 930 JMPGETEFFECT(effect, n->effect); |