changeset 197:d3a749f7b54c

Cosmetic.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 06 Oct 2012 21:01:24 +0300
parents dea742428ac6
children 4568c479541c
files jssplr.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jssplr.c	Sat Oct 06 20:46:00 2012 +0300
+++ b/jssplr.c	Sat Oct 06 21:01:24 2012 +0300
@@ -1128,7 +1128,10 @@
             if (tmp >= 0 && tmp < mp->module->ninstruments)
             {
                 JSSInstrument *inst = mp->module->instruments[tmp];
-                JMPSETNDFLAGS((tmp != chn->ninstrument ? cdfNewInstr : 0));
+                if (tmp != chn->ninstrument)
+                {
+                    JMPSETNDFLAGS(cdfNewInstr);
+                }
                 chn->ninstrument = tmp;
                 chn->instrument  = inst;
                 chn->volume      = inst->volume;