From c00947071aea854aebb34d33a88edfb72d1d6481 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Mon, 19 Aug 2024 02:49:14 -0500 Subject: [PATCH] Revert "typo in style fix" This reverts commit 91d36d0a624c603227b83dd066c0bb38f380a72e. --- 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 924169e16..d6351d8a3 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) { + if (pre->name!=post->name != 0) { nameValid=true; name=pre->name; }