Mention the applications that depend on the behavior checked by the

GetLocaleInfoA partial buffer test.
This commit is contained in:
Francois Gouget 2002-12-12 22:25:23 +00:00 committed by Alexandre Julliard
parent 26ffca49a2
commit b42b9ddb73
1 changed files with 3 additions and 0 deletions

View File

@ -51,6 +51,9 @@ char buffer[BUFFER_SIZE], Expected[BUFFER_SIZE];
lcid = MAKELCID(MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US), SORT_DEFAULT );
ok (lcid == 0x409, "wrong LCID calculated");
/* HTMLKit and "Font xplorer lite" expect GetLocaleInfoA to
* partially fill the buffer even if it is too short. See bug 637.
*/
strcpy(Expected, "xxxxx");
memset( buffer, 'x', sizeof(buffer) );
ret = GetLocaleInfoA(lcid, LOCALE_SDAYNAME1, buffer, 0);