# HG changeset patch # User Matti Hamalainen # Date 1425587031 -7200 # Node ID 1483b6af60655247e189c00d87aaf44311a1ba9c # Parent 83ed44e9630be8dc7d5529c6c7aa8838d145013f Cosmetics. diff -r 83ed44e9630b -r 1483b6af6065 minijss/jloadjss.c --- 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); } }