summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-03-31 15:54:47 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2019-04-12 19:22:47 +0200
commitca2fd1116ea82d51a11ad4b61b82c6a65c826069 (patch)
treee43863661bb0ee4f7ece8db667111dc1f8dbe4a7
parentfbbd7a6e3327b44b73cfd2e38fc1361ef2947d0b (diff)
Fix check for output engine.
-rw-r--r--drumgizmo/drumgizmoc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/drumgizmo/drumgizmoc.cc b/drumgizmo/drumgizmoc.cc
index 42a5d9a..8f7a25e 100644
--- a/drumgizmo/drumgizmoc.cc
+++ b/drumgizmo/drumgizmoc.cc
@@ -294,7 +294,7 @@ int main(int argc, char* argv[])
exit(1);
}
oe = factory.createOutput(engine);
- if(ie == NULL)
+ if(oe == NULL)
{
std::cerr << "Invalid output engine: " << engine << std::endl;;
exit(1);