changeset 1212:1483b6af6065

Cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 05 Mar 2015 22:23:51 +0200
parents 83ed44e9630b
children 505317227ab4
files minijss/jloadjss.c
diffstat 1 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/minijss/jloadjss.c	Thu Mar 05 21:52:04 2015 +0200
+++ b/minijss/jloadjss.c	Thu Mar 05 22:23:51 2015 +0200
@@ -320,7 +320,7 @@
             return DMERR_VERSION;
         else
         JSSERROR(DMERR_VERSION, DMERR_VERSION,
-        "Unsupported version of JSSMOD 0x%4x, this version only supports 0x%4x!\n",
+        "Unsupported version of JSSMOD 0x%2x, this version only supports 0x%2x!\n",
         jssH.idVersion, JSSMOD_VERSION);
     }
 
@@ -371,7 +371,8 @@
         if (module->patterns[index] == NULL)
         {
             JSSERROR(DMERR_MALLOC, DMERR_MALLOC,
-            "Could not allocate memory for pattern #%d.\n", index);
+            "Could not allocate memory for pattern #%d.\n",
+            index);
         }
 
         // Get pattern data
@@ -404,13 +405,16 @@
 #endif
             default:
                 JSSERROR(DMERR_INVALID_DATA, DMERR_INVALID_DATA,
-                "Unsupported pattern mode %d. Check compilation options.", jssH.patMode);
+                "Unsupported pattern mode %d. Check compilation options.",
+                jssH.patMode);
                 break;
         }
 
         if (result != DMERR_OK)
         {
-            JSSERROR(result, result, "Error in unpacking pattern #%i data\n", index);
+            JSSERROR(result, result,
+            "Error in unpacking pattern #%d data.\n",
+            index);
         }
     }