zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit 2ab265ba366bd6de1086f21c55cb399f70745e8c
parent edf59cd912aa41c0c76056c72445bc6997fb8fa2
Author: Johannes Lorenz <[email protected]>
Date:   Tue, 15 Dec 2020 16:55:44 +0100

Fix assert

Diffstat:
Msrc/UI/FormantFilterGraph.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/UI/FormantFilterGraph.cpp b/src/UI/FormantFilterGraph.cpp @@ -63,7 +63,7 @@ void FormantFilterGraph::OSC_value(int x, const char *loc) } void FormantFilterGraph::OSC_value(unsigned x, void *v) { - assert(x = sizeof(Pvowels)); + assert(x == sizeof(Pvowels)); memcpy(&Pvowels[0], v, x); redraw(); }