mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
NO_OP: better code styling
This commit is contained in:
parent
7cf90f0f54
commit
5e402aa0f9
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue