From 0f92c4e35a51d1df3e8e8bc3305783b857d93b25 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sat, 20 Aug 2022 04:46:45 -0500 Subject: [PATCH] GUI: fix change ins applying to off and release --- src/gui/editing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/editing.cpp b/src/gui/editing.cpp index 21b1a72eb..1ca3ff691 100644 --- a/src/gui/editing.cpp +++ b/src/gui/editing.cpp @@ -577,7 +577,7 @@ void FurnaceGUI::doChangeIns(int ins) { if (!e->curSubSong->chanShow[iCoarse]) continue; DivPattern* pat=e->curPat[iCoarse].getPattern(e->curOrders->ord[iCoarse][curOrder],true); for (int j=selStart.y; j<=selEnd.y; j++) { - if (pat->data[j][2]!=-1 || !(pat->data[j][0]==0 && pat->data[j][1]==0)) { + if (pat->data[j][2]!=-1 || !((pat->data[j][0]==0 || pat->data[j][0]==100 || pat->data[j][0]==101 || pat->data[j][0]==102) && pat->data[j][1]==0)) { pat->data[j][2]=ins; } }