ref: 9df67d1a25927b08e82c8872b01b07a99213ee0c
parent: 11d81a1efabd26441df0e55dfa7838f15851af5f
author: Olav Sørensen <[email protected]>
date: Sat Oct 7 10:47:58 EDT 2023
ALT+F4 (Copy Block) fix
--- a/src/ft2_edit.c
+++ b/src/ft2_edit.c
@@ -1577,7 +1577,7 @@
note_t *p = pattern[curPattern];
if (p != NULL && markY1 >= 0 && markX1 >= 0 && markX2 >= 0 && markY2 >= 0)
{
- for (int32_t x = markX1; x < markX2; x++)
+ for (int32_t x = markX1; x <= markX2; x++)
{
for (int32_t y = markY1; y < markY2; y++)
copyNote(&p[(y * MAX_CHANNELS) + x], &blkCopyBuff[((y - markY1) * MAX_CHANNELS) + (x - markX1)]);