diff --git a/libs/canvas/meter.cc b/libs/canvas/meter.cc index 937a1d6895..c532d68609 100644 --- a/libs/canvas/meter.cc +++ b/libs/canvas/meter.cc @@ -691,7 +691,9 @@ Meter::set (float lvl, float peak) float old_level = current_level; float old_peak = current_peak; - if (pixwidth <= 0 || pixheight <=0) return; + if (pixwidth <= 0 || pixheight <=0) { + return; + } if (peak == -1) { if (lvl >= current_peak && lvl > 0) {