diff --git a/Sources/VLModel.cpp b/Sources/VLModel.cpp index 42814fd..9762516 100644 --- a/Sources/VLModel.cpp +++ b/Sources/VLModel.cpp @@ -1942,7 +1942,7 @@ void VLSong::PasteMeasures(size_t beginMeasure, const VLSong & measures, int mod ++beginProp; else ++propOffset; - if (fProperties[propAt] == endProp[-1]) + if (endProp > beginProp && fProperties[propAt] == endProp[-1]) --endProp; } int postOffset = endProp - beginProp;