skip LV2 ports on GUI according to port-properties: notOnGUI and reportsLatency
[ardour.git] / gtk2_ardour / volume_controller.cc
index c72a31036a1adac47cc7bc3414aa315e9865ec6b..27fd7059787fa632ddb7084b576fc740c17af886 100644 (file)
@@ -101,7 +101,7 @@ VolumeController::dB_printer (char buf[32], const boost::shared_ptr<PBD::Control
                        }
                }
        } else {
-               snprintf (buf, sizeof (buf), "--");
+               snprintf (buf, 32, "--");
        }
 }