This commit is contained in:
tildearrow 2022-12-09 13:47:10 -05:00 committed by cam900
parent 39fadd23ac
commit 8d8be6cc13

View file

@ -3533,7 +3533,7 @@ void DivEngine::deepCloneOrder(bool where) {
order[i]=j;
DivPattern* oldPat=curPat[i].getPattern(origOrd,false);
DivPattern* pat=curPat[i].getPattern(j,true);
memcpy(pat->data,oldPat->data,DIV_MAX_ROWS*32*sizeof(short));
memcpy(pat->data,oldPat->data,DIV_MAX_ROWS*DIV_MAX_COLS*sizeof(short));
logD("found at %d",j);
didNotFind=false;
break;