git.samba.org
/
jelmer
/
ptabtools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
192269e
)
Get more stuff right...
author
Jelmer Vernooij
<jelmer@samba.org>
Tue, 15 Jun 2004 10:23:47 +0000
(11:23 +0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Tue, 15 Jun 2004 10:23:47 +0000
(11:23 +0100)
ptb2ly.c
patch
|
blob
|
history
diff --git
a/ptb2ly.c
b/ptb2ly.c
index b782169d906fdacbf64924cdf981aa280540ffaa..3746f235f949b3a1f9b2f9ae42543f03ababa154 100644
(file)
--- a/
ptb2ly.c
+++ b/
ptb2ly.c
@@
-111,7
+111,7
@@
void ly_write_position(FILE *out, struct ptb_position *pos)
fprintf(out, "%s", note_names[abs(note)%12]);
- j =
(note+11) / 12
;
+ j =
abs((note+9) / 12)
;
if(note < 0) {
for(i = j; i < 1; i++) fprintf(out, ",");
} else if(note > 0) {