@@ -396,8 +396,8 @@ class OwlUI : public UI {
396396
397397 void addOutputOwlParameter (
398398 const char * label, FAUSTFLOAT* zone, FAUSTFLOAT lo, FAUSTFLOAT hi) {
399- if (label[strlen (label) - 1 ] = = ' >' )
400- debugMessage (" Add '>' character for output parameters" );
399+ if (label[strlen (label) - 1 ] ! = ' >' )
400+ debugMessage (" Add '>' character for output parameters" );
401401 if (fParameterIndex < MAXOWLPARAMETERS) {
402402 if (meta.midiOn && strcasecmp (label, " freq" ) == 0 ) {
403403 fParameterTable [fParameterIndex ++] =
@@ -414,14 +414,14 @@ class OwlUI : public UI {
414414 else if (fParameter != NO_PARAMETER) {
415415 fParameterTable [fParameterIndex ++] = new OwlParameter (
416416 fPatch , fParameter , zone, label, lo, lo, hi, true );
417- }
418- else if (fButton != NO_BUTTON){
419- fParameterTable [fParameterIndex ++] = new OwlButton (
420- fPatch , fButton , zone, label, true );
421- }
422- }
423- fParameter = NO_PARAMETER;
424- fButton = NO_BUTTON;
417+ }
418+ else if (fButton != NO_BUTTON){
419+ fParameterTable [fParameterIndex ++] = new OwlButton (
420+ fPatch , fButton , zone, label, true );
421+ }
422+ }
423+ fParameter = NO_PARAMETER;
424+ fButton = NO_BUTTON;
425425 }
426426
427427 void addOwlButton (const char * label, FAUSTFLOAT* zone) {
@@ -435,7 +435,7 @@ class OwlUI : public UI {
435435 new OwlButton (fPatch , fButton , zone, label);
436436 }
437437 }
438- fParameter = NO_PARAMETER;
438+ fParameter = NO_PARAMETER;
439439 fButton = NO_BUTTON; // clear current button ID
440440 }
441441
@@ -572,8 +572,8 @@ class OwlUI : public UI {
572572 }
573573 else if (param_tmp == PARAMETER_B && *id >= ' 0' && *id <= ' 9' ) {
574574 fButton = PatchButtonId (BUTTON_A + *id - ' 1' );
575- }
576- else {
575+ }
576+ else {
577577 // Inc to skip 1-character params
578578 param_tmp++;
579579 // This is first character for groups of 8 params
0 commit comments