mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue