ntdll/tests: Fix crash in japanese and chinese test.

This commit is contained in:
André Hentschel 2010-11-11 00:48:44 +01:00 committed by Alexandre Julliard
parent 36035d0a22
commit 574a21cc14
1 changed files with 3 additions and 0 deletions

View File

@ -748,7 +748,10 @@ static const ustr2astr_t ustr2astr[] = {
{ 8, 6, 12, "------------", 12, 12, 12, "abcdef", FALSE, 5, 6, 6, "abcde", STATUS_BUFFER_OVERFLOW},
{ 8, 7, 12, "------------", 12, 12, 12, "abcdef", FALSE, 6, 7, 7, "abcdef", STATUS_SUCCESS},
{ 8, 7, 12, "------------", 0, 12, 12, NULL, FALSE, 0, 7, 0, "", STATUS_SUCCESS},
#if 0
/* crashes on japanese and chinese XP */
{ 0, 0, 12, NULL, 10, 10, 12, NULL, FALSE, 5, 0, 0, NULL, STATUS_BUFFER_OVERFLOW},
#endif
};
#define NB_USTR2ASTR (sizeof(ustr2astr)/sizeof(*ustr2astr))