usp10/tests: Initialize our SCRIPT_VISATTR array.
Found by Valgrind and Dan Kegel.
This commit is contained in:
parent
7fa15c5f4d
commit
8836da818e
|
@ -1901,6 +1901,7 @@ static void test_ScriptXtoX(void)
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
|
|
||||||
memset(&sa, 0 , sizeof(SCRIPT_ANALYSIS));
|
memset(&sa, 0 , sizeof(SCRIPT_ANALYSIS));
|
||||||
|
memset(psva, 0, sizeof(psva));
|
||||||
|
|
||||||
sa.fRTL = FALSE;
|
sa.fRTL = FALSE;
|
||||||
hr = ScriptXtoCP(-1, 10, 10, pwLogClust, psva, piAdvance, &sa, &piCP, &piTrailing);
|
hr = ScriptXtoCP(-1, 10, 10, pwLogClust, psva, piAdvance, &sa, &piCP, &piTrailing);
|
||||||
|
|
Loading…
Reference in New Issue