From a3c18ef60ca0eeea1ccffbacc80ad5af4536ac4b Mon Sep 17 00:00:00 2001 From: "smontagu%smontagu.org" Date: Tue, 25 Jan 2005 13:37:28 +0000 Subject: [PATCH] Right-to-left text is sometimes reversed when changing text size. Bug 248447, patch by Lina Kemmel , r=me, sr=dbaron. git-svn-id: svn://10.0.0.236/trunk@168299 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/base/nsBidiPresUtils.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/mozilla/layout/base/nsBidiPresUtils.cpp b/mozilla/layout/base/nsBidiPresUtils.cpp index c5f7138e324..8e404960dfb 100644 --- a/mozilla/layout/base/nsBidiPresUtils.cpp +++ b/mozilla/layout/base/nsBidiPresUtils.cpp @@ -341,6 +341,7 @@ nsBidiPresUtils::Resolve(nsPresContext* aPresContext, frameIndex, newIndex, temp); aForceReflow = PR_TRUE; runLength -= temp; + fragmentLength -= temp; lineOffset += temp; frameIndex = newIndex; }