From bebd8111f41c0187eb8f6f17f16f9f6846c75d52 Mon Sep 17 00:00:00 2001 From: kevin Date: Sat, 14 Jan 2023 13:35:37 -0500 Subject: [PATCH] cwPianoScore.cpp : Fix typo in event_to_string() output format. --- cwPianoScore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cwPianoScore.cpp b/cwPianoScore.cpp index f54b341..e5c4a4d 100644 --- a/cwPianoScore.cpp +++ b/cwPianoScore.cpp @@ -460,7 +460,7 @@ cw::rc_t cw::score::event_to_string( handle_t h, unsigned uid, char* buf, unsig if( midi::isSostenutoPedal( e->status, e->d0 ) ) sci_pitch = midi::isPedalDown( e->status, e->d0, e->d1 ) ? "Sv" : "S^"; - snprintf(buf,buf_byte_cnt,"uid:%5i meas:%4i loc:%4i tick:%8i sec:%8.3f %4s %5s %3s (st:0x%02x d1:0x%02x d0:0x%02x)", e->uid, e->meas, e->loc, e->tick, e->sec, sci_pitch, dyn_mark, grace_mark, e->status, e->d0, e->d1 ); + snprintf(buf,buf_byte_cnt,"uid:%5i meas:%4i loc:%4i tick:%8i sec:%8.3f %4s %5s %3s (st:0x%02x d0:0x%02x d1:0x%02x)", e->uid, e->meas, e->loc, e->tick, e->sec, sci_pitch, dyn_mark, grace_mark, e->status, e->d0, e->d1 ); } return rc;