usp10/tests: Having numbers in the ScriptStringXtoCP tests causes unpredictable behavior.

This commit is contained in:
Aric Stewart 2010-06-16 15:12:44 +09:00 committed by Alexandre Julliard
parent 18193b193b
commit 25f45df11d
1 changed files with 1 additions and 1 deletions

View File

@ -1243,7 +1243,7 @@ static void test_ScriptStringXtoCP_CPtoX(HDC hdc)
*/
HRESULT hr;
WCHAR teststr1[] = {'T', 'e', 's', 't', 'e', '1', '2', ' ', 'a', '\0'};
WCHAR teststr1[] = {'T', 'e', 's', 't', 'e', 'a', 'b', ' ', 'a', '\0'};
void *String = (WCHAR *) &teststr1; /* ScriptStringAnalysis needs void */
int String_len = (sizeof(teststr1)/sizeof(WCHAR))-1;
int Glyphs = String_len * 2 + 16; /* size of buffer as recommended */