fixed typo

git-svn-id: trunk@9648 -
This commit is contained in:
mattias 2006-07-20 21:10:49 +00:00
parent 8396895ec1
commit 92ccd86ac0

View File

@ -1154,8 +1154,9 @@ var
Result:=true; Result:=true;
end; end;
function Has3SideSplitter(Side: TAnchorKind): boolean; function HasOwnSideSplitter(Side: TAnchorKind): boolean;
{ check if node has a splitter to Side, and the splitter shares 3 sides { check if node has a splitter to Side, and the node is the only node
anchored to the splitter at this side.
If yes, it removes the splitter and the node and reconnects the nodes If yes, it removes the splitter and the node and reconnects the nodes
using the splitter with the opposite side using the splitter with the opposite side
For example: For example:
@ -1202,10 +1203,10 @@ var
begin begin
if HasNoSplitter if HasNoSplitter
or Has3SideSplitter(akLeft) or HasOwnSideSplitter(akLeft)
or Has3SideSplitter(akTop) or HasOwnSideSplitter(akTop)
or Has3SideSplitter(akRight) or HasOwnSideSplitter(akRight)
or Has3SideSplitter(akBottom) or HasOwnSideSplitter(akBottom)
or HasSpiralSplitter then begin or HasSpiralSplitter then begin
end else begin end else begin
// this should never be reached // this should never be reached