Attempt to fix WINNT bustage from previous check-in
git-svn-id: svn://10.0.0.236/trunk@192221 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
3db5a70f41
commit
f5b58f9e8a
@ -764,7 +764,7 @@ nsBidiPresUtils::GetFrameToRightOf(const nsIFrame* aFrame,
|
||||
return (nsIFrame*)mVisualFrames[0];
|
||||
|
||||
for (PRInt32 i = 0; i < count - 1; i++) {
|
||||
if (mVisualFrames[i] == aFrame) {
|
||||
if ((nsIFrame*)mVisualFrames[i] == aFrame) {
|
||||
return (nsIFrame*)mVisualFrames[i+1];
|
||||
}
|
||||
}
|
||||
@ -788,7 +788,7 @@ nsBidiPresUtils::GetFrameToLeftOf(const nsIFrame* aFrame,
|
||||
return (nsIFrame*)mVisualFrames[count-1];
|
||||
|
||||
for (PRInt32 i = 1; i < count; i++) {
|
||||
if (mVisualFrames[i] == aFrame) {
|
||||
if ((nsIFrame*)mVisualFrames[i] == aFrame) {
|
||||
return (nsIFrame*)mVisualFrames[i-1];
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user