diff options
author | Len Ovens <len@ovenwerks.net> | 2015-05-24 17:56:40 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-05-24 17:56:40 +0200 |
commit | fb649f43ea3266280c01a94471a7069b1dca4a3e (patch) | |
tree | 3c244a5f878da49845890d55bc65fccd7289fd27 | |
parent | e8a0b1c5145e2624b0fa16344e3733f6d02820f5 (diff) |
fix for MCP panner width - closes #6341
-rw-r--r-- | libs/surfaces/mackie/strip.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaces/mackie/strip.cc b/libs/surfaces/mackie/strip.cc index 3d3a92987a..1545933673 100644 --- a/libs/surfaces/mackie/strip.cc +++ b/libs/surfaces/mackie/strip.cc @@ -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; |