Fix piano roll to use the same octave numbering as the verbose canvas cursor (#4015).

git-svn-id: svn://localhost/ardour2/branches/3.0@9458 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-05-02 22:34:44 +00:00
parent a4b1a1bb14
commit 2a1844a28e
1 changed files with 1 additions and 1 deletions

View File

@ -445,7 +445,7 @@ PianoRollHeader::on_expose_event (GdkEventExpose* ev)
double y = floor(_view.note_to_y(i)) - 0.5f;
double note_height = floor(_view.note_to_y(i - 1)) - y;
int cn = i / 12;
int cn = i / 12 - 1;
s << "C" << cn;
//cr->get_text_extents(s.str(), te);