Skip to content

Commit

Permalink
Fixed issue#1247
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmarder authored and salvadorbs committed Sep 26, 2024
1 parent ec07330 commit d96e52c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/VirtualTrees.Header.pas
Original file line number Diff line number Diff line change
Expand Up @@ -5508,7 +5508,7 @@ function TVirtualTreeColumns.GetPreviousColumn(Column : TColumnIndex) : TColumnI
Result := FPositionToIndex[Position - 1]
else
Result := InvalidColumn;
Assert(Position <> Result, 'The previous column must not have the same position as the given column.');
Assert(Column <> Result, 'The previous column must not have the same position as the given column.');
end;
end;

Expand Down

0 comments on commit d96e52c

Please sign in to comment.