13
0

fix for MCP panner width - closes #6341

This commit is contained in:
Len Ovens 2015-05-24 17:56:40 +02:00 committed by Robin Gareus
parent e8a0b1c514
commit fb649f43ea

View File

@ -632,7 +632,7 @@ Strip::do_parameter_display (AutomationType type, float val)
case PanWidthAutomation:
if (_route) {
char buf[16];
snprintf (buf, sizeof (buf), "%5ld%%", lrintf (val * 100.0));
snprintf (buf, sizeof (buf), "%5ld%%", lrintf ((val * 200.0)-100));
_surface->write (display (1, buf));
}
break;