summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-05-17 19:51:19 +0000
committerDavid Robillard <d@drobilla.net>2014-05-17 19:51:19 +0000
commit2e0b94440ed055c738f63ceaba16e6bc993c9221 (patch)
treeb5d24bc5fc9c0b0be852afcd0ec540e44b4370e6 /src
parent0bda2eff5a1e22cf50b430511ce2d21e76028e2d (diff)
downloadpatchage-2e0b94440ed055c738f63ceaba16e6bc993c9221.tar.gz
patchage-2e0b94440ed055c738f63ceaba16e6bc993c9221.tar.bz2
patchage-2e0b94440ed055c738f63ceaba16e6bc993c9221.zip
Fix logic typo (thanks to Hanspeter Portner).
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5402 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/PatchageCanvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PatchageCanvas.cpp b/src/PatchageCanvas.cpp
index 7a9cacc..beeba8f 100644
--- a/src/PatchageCanvas.cpp
+++ b/src/PatchageCanvas.cpp
@@ -216,7 +216,7 @@ PatchageCanvas::connect(Ganv::Node* port1,
return;
if ((p1->type() == JACK_AUDIO && p2->type() == JACK_AUDIO) ||
- (p1->type() == JACK_MIDI && p2->type() == JACK_MIDI) |
+ (p1->type() == JACK_MIDI && p2->type() == JACK_MIDI) ||
(p1->type() == JACK_AUDIO && p2->type() == JACK_CV) ||
(p1->type() == JACK_CV && p2->type() == JACK_CV) ||
(p1->type() == JACK_OSC && p2->type() == JACK_OSC)) {