usp10/tests: Initialize our SCRIPT_VISATTR array.

Found by Valgrind and Dan Kegel.
This commit is contained in:
Aric Stewart 2011-10-19 12:54:37 -05:00 committed by Alexandre Julliard
parent 7fa15c5f4d
commit 8836da818e
1 changed files with 1 additions and 0 deletions

View File

@ -1901,6 +1901,7 @@ static void test_ScriptXtoX(void)
HRESULT hr;
memset(&sa, 0 , sizeof(SCRIPT_ANALYSIS));
memset(psva, 0, sizeof(psva));
sa.fRTL = FALSE;
hr = ScriptXtoCP(-1, 10, 10, pwLogClust, psva, piAdvance, &sa, &piCP, &piTrailing);