Fix array out of bounds error.
git-svn-id: svn://localhost/ardour2/branches/3.0@6614 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
2196bb614e
commit
192e2593b6
@ -510,7 +510,7 @@ TranzportControlProtocol::show_meter ()
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
uint32_t fill = (uint32_t) floor (fraction * 40);
|
uint32_t fill = (uint32_t) floor (fraction * 40);
|
||||||
char buf[21];
|
char buf[22];
|
||||||
uint32_t i;
|
uint32_t i;
|
||||||
|
|
||||||
if (fill == last_meter_fill) {
|
if (fill == last_meter_fill) {
|
||||||
|
Loading…
Reference in New Issue
Block a user