user32: Fix the number of characters passed to GetClassNameW in ClassTest.
This commit is contained in:
parent
492be1b5e3
commit
e154d3b29e
|
@ -134,7 +134,7 @@ static void ClassTest(HINSTANCE hInstance, BOOL global)
|
|||
}
|
||||
|
||||
/* check GetClassName */
|
||||
i = GetClassNameW(hTestWnd, str, sizeof(str));
|
||||
i = GetClassNameW(hTestWnd, str, sizeof(str)/sizeof(str[0]));
|
||||
ok(i == lstrlenW(className),
|
||||
"GetClassName returned incorrect length\n");
|
||||
ok(!lstrcmpW(className,str),
|
||||
|
|
Loading…
Reference in New Issue