NO_OP: better code styling

This commit is contained in:
Paul Davis 2025-06-24 17:57:47 -06:00
parent 7cf90f0f54
commit 5e402aa0f9

View file

@ -1082,9 +1082,9 @@ EditingContext::draw_velocity_action (int v)
const char* action = 0;
RefPtr<Action> 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;
}