win32u: Use ARRAY_SIZE() instead of open coding it.

This commit is contained in:
Michael Stefaniuc 2023-04-19 19:28:53 +02:00 committed by Alexandre Julliard
parent b0dd4177d5
commit 5cae9680f4

View file

@ -398,7 +398,7 @@ static const KBDTABLES kbdus_tables =
.pKeyNames = (VSC_LPWSTR *)key_names,
.pKeyNamesExt = (VSC_LPWSTR *)key_names_ext,
.pusVSCtoVK = (USHORT *)vsc_to_vk,
.bMaxVSCtoVK = sizeof(vsc_to_vk) / sizeof(vsc_to_vk[0]),
.bMaxVSCtoVK = ARRAY_SIZE(vsc_to_vk),
.pVSCtoVK_E0 = (VSC_VK *)vsc_to_vk_e0,
.pVSCtoVK_E1 = (VSC_VK *)vsc_to_vk_e1,
.fLocaleFlags = MAKELONG(0, KBD_VERSION),