Commits

Shlomi Fish committed 3b91b10

Fix a CLANG warning.

  • Participants
  • Parent commits ff4c9e1

Comments (0)

Files changed (1)

libmikmod/loaders/load_stm.c

 		q->speed      = (mh->sample[t].c2spd * 8363) / 8448;
 		q->volume     = mh->sample[t].volume;
 		q->length     = mh->sample[t].length;
+#if 0
 		if (/*(!mh->sample[t].volume)||*/(q->length==1)) q->length=0;
+#else
+		if (q->length==1) {
+			q->length=0;
+		}
+#endif
 		q->loopstart  = mh->sample[t].loopbeg;
 		q->loopend    = mh->sample[t].loopend;
 		q->seekpos    = MikMod_ISA;