Commit 5cae9680 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

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

parent b0dd4177
......@@ -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),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment