Fix for previous commit
authorBen Loftis <ben@harrisonconsoles.com>
Tue, 2 Feb 2016 22:14:00 +0000 (16:14 -0600)
committerBen Loftis <ben@harrisonconsoles.com>
Tue, 2 Feb 2016 22:14:00 +0000 (16:14 -0600)
libs/surfaces/mackie/strip.cc

index 429c1980ab345f5aec4862662ed20638ce13e8b0..893c3903cdd67ddc0b7ff1c1c5ea1366d15d43fe 100644 (file)
@@ -1128,10 +1128,10 @@ Strip::handle_pot (Pot& pot, float delta)
 
                p += delta;
 
-               p = max (0, p);
+               p = max (0.0, p);
                p = min (1.0, p);
 
-               ac->set_interface ( ac->interface_to_internal(p), gcd);
+               ac->set_value ( ac->interface_to_internal(p), gcd);
        }
 }