Aric Stewart : gdi32: Correct usage of ScriptLayout for bidi code.
Module: wine Branch: master Commit: 8ac121c6717dc13357cbd6829f6eb5a2338f9823 URL: http://source.winehq.org/git/wine.git/?a=commit;h=8ac121c6717dc13357cbd6829f... Author: Aric Stewart <aric(a)codeweavers.com> Date: Tue Sep 7 14:41:56 2010 -0500 gdi32: Correct usage of ScriptLayout for bidi code. --- dlls/gdi32/bidi.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/gdi32/bidi.c b/dlls/gdi32/bidi.c index 7b3995b..7d748fd 100644 --- a/dlls/gdi32/bidi.c +++ b/dlls/gdi32/bidi.c @@ -321,7 +321,7 @@ static void BidiLines(int baselevel, LPWSTR pszOutLine, LPCWSTR pszLine, WORD * { int i; /* reorder each line in place */ - ScriptLayout(cchLine, plevelLine, run, NULL); + ScriptLayout(cchLine, plevelLine, NULL, run); for (i = 0; i < cchLine; i++) pszOutLine[done+run[i]] = pszLine[i]; } @@ -590,7 +590,7 @@ BOOL BIDI_Reorder( for (j = 0; j < nItems; j++) runOrder[j] = pItems[j].a.s.uBidiLevel; - ScriptLayout(nItems, runOrder, NULL, visOrder); + ScriptLayout(nItems, runOrder, visOrder, NULL); for (j = 0; j < nItems; j++) {
participants (1)
-
Alexandre Julliard