summaryrefslogtreecommitdiff
path: root/drumgizmo
diff options
context:
space:
mode:
Diffstat (limited to 'drumgizmo')
-rw-r--r--drumgizmo/drumgizmoc.cc9
1 files changed, 1 insertions, 8 deletions
diff --git a/drumgizmo/drumgizmoc.cc b/drumgizmo/drumgizmoc.cc
index 48a17fd..a00a623 100644
--- a/drumgizmo/drumgizmoc.cc
+++ b/drumgizmo/drumgizmoc.cc
@@ -409,14 +409,7 @@ int main(int argc, char* argv[])
break;
}
- if(ie->isFreewheeling() && oe->isFreewheeling())
- {
- gizmo.setFreeWheel(true);
- }
- else
- {
- gizmo.setFreeWheel(false);
- }
+ gizmo.setFreeWheel(ie->isFreewheeling() && oe->isFreewheeling());
}
ie->stop();