zynaddsubfx

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

commit 8165cd05856023d8d4c27558c7318dc07c2cab34
parent 84b3929dd630242bb5175cae075edb551423b344
Author: Johannes Lorenz <j.git@lorenz-ho.me>
Date:   Sun, 22 Nov 2020 12:38:34 +0100

MiddleWare: Don't display warnings for pointer msgs

Diffstat:
Msrc/Misc/MiddleWare.cpp | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Misc/MiddleWare.cpp b/src/Misc/MiddleWare.cpp @@ -378,7 +378,7 @@ struct NonRtObjStore } else { // print warning, except in rtosc::walk_ports - if(obj_rl.find("/pointer") == obj_rl.npos) + if(!strstr(d.message, "/pointer")) { fprintf(stderr, "Warning: trying to access oscil object \"%s\"," "which does not exist\n", obj_rl.c_str()); @@ -409,7 +409,7 @@ struct NonRtObjStore } else { // print warning, except in rtosc::walk_ports - if(obj_rl.find("/pointer") == obj_rl.npos) + if(!strstr(d.message, "/pointer")) { fprintf(stderr, "Warning: trying to access pad synth object " "\"%s\", which does not exist\n",