summaryrefslogtreecommitdiff
path: root/test/dgreftest/dgreftest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/dgreftest/dgreftest.cc')
-rw-r--r--test/dgreftest/dgreftest.cc9
1 files changed, 1 insertions, 8 deletions
diff --git a/test/dgreftest/dgreftest.cc b/test/dgreftest/dgreftest.cc
index ead3172..475ea24 100644
--- a/test/dgreftest/dgreftest.cc
+++ b/test/dgreftest/dgreftest.cc
@@ -144,14 +144,7 @@ int main(int argc, char* argv[])
{
pos += nsamples;
- if(ie.isFreewheeling() && oe->isFreewheeling())
- {
- drumgizmo.setFreeWheel(true);
- }
- else
- {
- drumgizmo.setFreeWheel(false);
- }
+ drumgizmo.setFreeWheel(ie.isFreewheeling() && oe.isFreewheeling());
}
ie.stop();