diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-11-12 22:24:34 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2011-11-12 22:24:34 +0100 |
commit | 806700d86c1cffc621fe8196b88893089d8704b2 (patch) | |
tree | 25571015de691b3b9a50a69dfe0f483bc07a3699 | |
parent | 13056b602ac05a47bdf9e04a991da158f5f4d556 (diff) |
Correct number of staves
-rw-r--r-- | maestropond.c | 2 |
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); |