Skip to content

Commit 10f854d

Browse files
committed
Fixed issue#1247
1 parent c179b83 commit 10f854d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/VirtualTrees.Header.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5267,7 +5267,7 @@ function TVirtualTreeColumns.GetPreviousColumn(Column : TColumnIndex) : TColumnI
52675267
Result := FPositionToIndex[Position - 1]
52685268
else
52695269
Result := InvalidColumn;
5270-
Assert(Position <> Result, 'The previous column must not have the same position as the given column.');
5270+
Assert(Column <> Result, 'The previous column must not have the same position as the given column.');
52715271
end;
52725272
end;
52735273

0 commit comments

Comments
 (0)