We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3288007 commit 663397bCopy full SHA for 663397b
src/core/t-image.c
@@ -762,11 +762,12 @@ INLINE REBCNT ARGB_To_BGR(REBCNT i)
762
Expand_Series(VAL_SERIES(value), index, dup * part);
763
CLEAR_IMAGE(VAL_BIN(value) + (index * 4), dup, part);
764
Reset_Height(value);
765
- if (action == A_INSERT)
766
- VAL_INDEX(value) = index + (dup * part); // so it is on position after insertion
767
tail = VAL_TAIL(value);
768
only = 0;
769
}
+ if (action != A_APPEND)
+ VAL_INDEX(value) = index + (dup * part); // so it is on position after insertion or change
770
+
771
ip = VAL_IMAGE_HEAD(value);
772
773
// Handle the datatype of the argument.
0 commit comments