From 5e402aa0f9d391b82c17a59c584f9e8a0271f438 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 24 Jun 2025 17:57:47 -0600 Subject: [PATCH] NO_OP: better code styling --- gtk2_ardour/editing_context.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/editing_context.cc b/gtk2_ardour/editing_context.cc index 766eaf387b..93061de08f 100644 --- a/gtk2_ardour/editing_context.cc +++ b/gtk2_ardour/editing_context.cc @@ -1082,9 +1082,9 @@ EditingContext::draw_velocity_action (int v) const char* action = 0; RefPtr act; - if (v == DRAW_VEL_AUTO) { + if (DRAW_VEL_AUTO == v) { action = "draw-velocity-auto"; - } else if (v>=1 && v<=127) { + } else if (v >= 1 && v <= 127) { snprintf (buf, sizeof (buf), X_("draw-velocity-%d"), v); //we don't allow drawing a velocity 0; some synths use that as note-off action = buf; }