Mercurial > hg > dmlib
changeset 1271:197c9ccdb33c
Cosmetic.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 03 Jun 2015 17:00:07 +0300 |
parents | 7f20f611c241 |
children | acae5f8ebc67 |
files | minijss/jloadjss.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/minijss/jloadjss.c Wed Jun 03 16:36:25 2015 +0300 +++ b/minijss/jloadjss.c Wed Jun 03 17:00:07 2015 +0300 @@ -493,9 +493,11 @@ !dmf_read_le16(inFile, &jssE.vibratoDepth) || !dmf_read_le16(inFile, &jssE.vibratoRate) || !dmf_read_le16(inFile, &jssE.fadeOut)) + { JSSERROR(DMERR_FREAD, DMERR_FREAD, "Failed to read ext.instrument #%d header.\n", index); + } // Allocate instrument if ((einst = jssAllocateExtInstrument()) == NULL)