Fix compilation for older C++

This commit is contained in:
arch1t3cht 2022-07-26 23:22:30 +02:00
parent 818fcd51f4
commit e65e55833c
1 changed files with 3 additions and 3 deletions

View File

@ -239,9 +239,9 @@ void FoldController::LinkFolds() {
}
if (line->Fold.exists && line->Fold.side) {
context->ass->Properties.folds.push_back(LineFold {
.start = foldStack.back()->Row,
.end = line->Row,
.collapsed = line->Fold.collapsed,
foldStack.back()->Row,
line->Row,
line->Fold.collapsed,
});
line->Fold.counterpart = foldStack.back();