summaryrefslogtreecommitdiff
path: root/libs/ardour/iec2ppmdsp.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2013-08-29 18:46:03 +0200
committerRobin Gareus <robin@gareus.org>2013-08-29 18:46:03 +0200
commit14f5557bec6fbf07fb1907c380997a46c8f2e393 (patch)
tree4f740c4e5b5abbb167b54933474d443def5ad4f3 /libs/ardour/iec2ppmdsp.cc
parent2172700144a1b9d13c87bceb5be60f7632f640c4 (diff)
fix typo in IEC-meter 'weird-float' protection.
Diffstat (limited to 'libs/ardour/iec2ppmdsp.cc')
-rw-r--r--libs/ardour/iec2ppmdsp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/iec2ppmdsp.cc b/libs/ardour/iec2ppmdsp.cc
index bb934166fc..caca744c52 100644
--- a/libs/ardour/iec2ppmdsp.cc
+++ b/libs/ardour/iec2ppmdsp.cc
@@ -46,7 +46,7 @@ void Iec2ppmdsp::process (float *p, int n)
float z1, z2, m, t;
z1 = _z1 > 20 ? 20 : (_z1 < 0 ? 0 : _z1);
- z1 = _z2 > 20 ? 20 : (_z2 < 0 ? 0 : _z2);
+ z2 = _z2 > 20 ? 20 : (_z2 < 0 ? 0 : _z2);
m = _res ? 0: _m;
_res = false;