Mercurial > hg > dmlib
diff minijss/jloadxm.c @ 1127:e22d4ceb6414
Cosmetics pass, remove excess and trailing whitespace.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 04 Mar 2015 06:11:37 +0200 |
parents | 0888764d01cd |
children | 725e7caa43a0 |
line wrap: on
line diff
--- a/minijss/jloadxm.c Wed Mar 04 06:08:22 2015 +0200 +++ b/minijss/jloadxm.c Wed Mar 04 06:11:37 2015 +0200 @@ -223,13 +223,13 @@ d->points[i].frame = s->points[i].frame; d->points[i].value = s->points[i].value; } - + // Convert other values d->npoints = s->npoints; d->sustain = s->sustain; d->loopS = s->loopS; d->loopE = s->loopE; - + // Check if the envelope is used if (s->flags & 0x01) { @@ -363,7 +363,7 @@ inst->loopS = xmS.loopS; inst->loopE = (xmS.loopS + xmS.loopL); } - + if (xmS.loopL == 0) { // Always unset loop, if loop length is zero @@ -613,7 +613,7 @@ { // Get the pattern header off_t remainder, pos = dmftell(inFile); - + if (!dmf_read_le32(inFile, &xmP.headSize) || !dmf_read_byte(inFile, &xmP.packing) || !dmf_read_le16(inFile, &xmP.nrows) || @@ -621,7 +621,7 @@ JSSERROR(DMERR_FREAD, DMERR_FREAD, "Could not read pattern header data #%d.\n", index); - + // Check the header if (xmP.packing != 0)