Commit 1ee497ae authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

usp10/test: Initialize local structures.

parent 9476937d
...@@ -1266,6 +1266,10 @@ static void test_ScriptStringXtoCP_CPtoX(HDC hdc) ...@@ -1266,6 +1266,10 @@ static void test_ScriptStringXtoCP_CPtoX(HDC hdc)
* Here we generate an SCRIPT_STRING_ANALYSIS that will be used as input to the * Here we generate an SCRIPT_STRING_ANALYSIS that will be used as input to the
* following character positions to X and X to character position functions. * following character positions to X and X to character position functions.
*/ */
memset(&Control, 0, sizeof(SCRIPT_CONTROL));
memset(&State, 0, sizeof(SCRIPT_STATE));
memset(&Tabdef, 0, sizeof(SCRIPT_TABDEF));
hr = ScriptStringAnalyse( hdc, String, String_len, Glyphs, Charset, Flags, hr = ScriptStringAnalyse( hdc, String, String_len, Glyphs, Charset, Flags,
ReqWidth, &Control, &State, NULL, &Tabdef, ReqWidth, &Control, &State, NULL, &Tabdef,
&InClass, &ssa); &InClass, &ssa);
......
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