Commit 8836da81 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

usp10/tests: Initialize our SCRIPT_VISATTR array.

Found by Valgrind and Dan Kegel.
parent 7fa15c5f
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment