summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--maestropond.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/maestropond.c b/maestropond.c
index 3b9792f..5681780 100644
--- a/maestropond.c
+++ b/maestropond.c
@@ -242,7 +242,7 @@ static size_t process_stave_data(unsigned char *f, size_t ptr)
{
int n_staves, n_perc;
- n_staves = f[ptr++];
+ n_staves = 1 + f[ptr++];
n_perc = f[ptr++];
printf("%i staves, %i percussion\n", n_staves, n_perc);