kernel32: Fix the number of characters passed to GetAtomNameW in test_local_get_atom_name.
This commit is contained in:
parent
d182559161
commit
492be1b5e3
|
@ -566,7 +566,7 @@ static void test_local_get_atom_name(void)
|
||||||
do_initW(inW, "abcdefghij", 255);
|
do_initW(inW, "abcdefghij", 255);
|
||||||
atom = AddAtomW(inW);
|
atom = AddAtomW(inW);
|
||||||
ok(atom, "couldn't add atom for %s\n", in);
|
ok(atom, "couldn't add atom for %s\n", in);
|
||||||
len = GetAtomNameW(atom, outW, sizeof(outW));
|
len = GetAtomNameW(atom, outW, sizeof(outW)/sizeof(outW[0]));
|
||||||
ok(len == 255, "length mismatch (%u instead of 255)\n", len);
|
ok(len == 255, "length mismatch (%u instead of 255)\n", len);
|
||||||
for (i = 0; i < 255; i++)
|
for (i = 0; i < 255; i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue