changeset 1115:bfed0d5f8e8b

Rename a variable.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 04 Mar 2015 02:04:31 +0200
parents 7aaab1533c90
children 9d78c880c6e1
files tools/xm2jss.c
diffstat 1 files changed, 13 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/tools/xm2jss.c	Wed Mar 04 01:51:00 2015 +0200
+++ b/tools/xm2jss.c	Wed Mar 04 02:04:31 2015 +0200
@@ -575,24 +575,24 @@
     for (totalSize = instr = 0; instr < m->ninstruments; instr++)
     {
         JSSMODInstrument jssI;
-        JSSInstrument *pInst = m->instruments[instr];
+        JSSInstrument *inst = m->instruments[instr];
 
         memset(&jssI, 0, sizeof(jssI));
 
         // Create header
-        if (pInst)
+        if (inst != NULL)
         {
-            jssI.size         = pInst->size;
-            jssI.loopS        = pInst->loopS;
-            jssI.loopE        = pInst->loopE;
-            jssI.volume       = pInst->volume;
-            jssI.flags        = pInst->flags;
-            jssI.C4BaseSpeed  = pInst->C4BaseSpeed;
-            jssI.ERelNote     = pInst->ERelNote;
-            jssI.EFineTune    = pInst->EFineTune;
-            jssI.EPanning     = pInst->EPanning;
-            jssI.hasData      = (pInst->data != NULL) ? TRUE : FALSE;
-            jssI.convFlags    = (pInst->flags & jsf16bit) ? flags16 : flags8;
+            jssI.size         = inst->size;
+            jssI.loopS        = inst->loopS;
+            jssI.loopE        = inst->loopE;
+            jssI.volume       = inst->volume;
+            jssI.flags        = inst->flags;
+            jssI.C4BaseSpeed  = inst->C4BaseSpeed;
+            jssI.ERelNote     = inst->ERelNote;
+            jssI.EFineTune    = inst->EFineTune;
+            jssI.EPanning     = inst->EPanning;
+            jssI.hasData      = (inst->data != NULL) ? TRUE : FALSE;
+            jssI.convFlags    = (inst->flags & jsf16bit) ? flags16 : flags8;
         }
         else 
             JSSWARNING(DMERR_NULLPTR, DMERR_NULLPTR, "Instrument #%i NULL!\n", instr);