mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 15:15:41 +01:00
fix up java-style expression to have correct C++ semantics
git-svn-id: svn://localhost/ardour2/branches/3.0@4318 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
dcc8f688cd
commit
493339e969
1 changed files with 3 additions and 4 deletions
|
|
@ -50,10 +50,9 @@ public:
|
|||
}
|
||||
|
||||
bool is_sane() {
|
||||
return
|
||||
0 <= msb <= 127 &&
|
||||
0 <= lsb <= 127 &&
|
||||
0 <= program_number <= 127;
|
||||
return ((msb >= 0) && (msb <= 127) &&
|
||||
(lsb >= 0) && (lsb <= 127) &&
|
||||
(program_number >=0 ) && (program_number <= 127));
|
||||
}
|
||||
|
||||
inline PatchPrimaryKey& operator=(const PatchPrimaryKey& id) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue