changeset 1316:817a4d0c70b5

Comment clarifications.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 20 Aug 2017 01:55:09 +0300
parents 7687412f9aef
children 2772c16622bb
files minijss/jloadjss.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/minijss/jloadjss.c	Sun Aug 20 01:54:54 2017 +0300
+++ b/minijss/jloadjss.c	Sun Aug 20 01:55:09 2017 +0300
@@ -625,7 +625,7 @@
             size_t bsize = (inst->flags & jsf16bit) ? sizeof(Uint16) : sizeof(Uint8);
             bsize *= inst->size;
 
-            // Allocate
+            // Allocate sample data memory
             if ((inst->data = dmMalloc(bsize)) == NULL)
             {
                 JSSERROR(DMERR_MALLOC, DMERR_MALLOC,
@@ -633,7 +633,7 @@
                 bsize, index);
             }
 
-            // Copy data
+            // Read data
             if (!dmf_read_str(inFile, inst->data, bsize))
             {
                 JSSERROR(DMERR_FREAD, DMERR_FREAD,