From 91d36d0a624c603227b83dd066c0bb38f380a72e Mon Sep 17 00:00:00 2001 From: Adam Lederer Date: Sun, 4 Aug 2024 22:23:21 -0700 Subject: [PATCH] typo in style fix --- src/engine/instrument.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/instrument.cpp b/src/engine/instrument.cpp index d6351d8a3..924169e16 100644 --- a/src/engine/instrument.cpp +++ b/src/engine/instrument.cpp @@ -428,7 +428,7 @@ bool DivInstrumentUndoStep::makeUndoPatch(size_t processTime_, const DivInstrume // create the patch that will make post into pre podPatch.calcDiff((const DivInstrumentPOD*)post, (const DivInstrumentPOD*)pre, sizeof(DivInstrumentPOD)); - if (pre->name!=post->name != 0) { + if (pre->name!=post->name) { nameValid=true; name=pre->name; }