changeset 97:2884a611042b

Fix building with debug mode.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 02 Oct 2012 20:18:39 +0300
parents 6bf5220fa47e
children 82b825bb08b0
files jssplr.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jssplr.h	Tue Oct 02 18:52:28 2012 +0300
+++ b/jssplr.h	Tue Oct 02 20:18:39 2012 +0300
@@ -163,7 +163,7 @@
 /* Debugging macros
  */
 #if !defined(JSS_LIGHT) && defined(JSS_DEBUG)
-#  define JMPDEBUG(QQ) { fprintf(stderr, "[o=%03d:p=%03d:r=%03d] (%c/%x:%x) %s\n", mp->iOrder, mp->iPattern, mp->iRow, effect, currNote->effect, currNote->param, QQ ); }
+#  define JMPDEBUG(QQ) { fprintf(stderr, "[o=%03d:p=%03d:r=%03d] (%c/%x:%x) %s\n", mp->order, mp->npattern, mp->row, effect, currNote->effect, currNote->param, QQ ); }
 #else
 #  define JMPDEBUG(QQ) // stub
 #endif