diff --git a/gfx/thebes/src/gfxWindowsFonts.cpp b/gfx/thebes/src/gfxWindowsFonts.cpp index c05e9732eba..b94edd69fcc 100644 --- a/gfx/thebes/src/gfxWindowsFonts.cpp +++ b/gfx/thebes/src/gfxWindowsFonts.cpp @@ -913,8 +913,8 @@ public: const PRUnichar *str = mAlternativeString ? mAlternativeString : mRangeString; + mScriptItem->a.fLogicalOrder = PR_TRUE; SCRIPT_ANALYSIS sa = mScriptItem->a; - sa.fLogicalOrder = PR_TRUE; /* fLinkBefore and fLinkAfter in the SCRIPT_ANALYSIS structure refer to the whole item, so if the current range begins after the beginning