[USER32] Use static inline instead of inline

Fixes compilation with less optimizations
This commit is contained in:
Jérôme Gardou 2023-07-24 22:18:36 +02:00 committed by Jérôme Gardou
parent dad99e3bd0
commit b3d0591e76

View file

@ -704,7 +704,7 @@ LoadKeyboardLayoutA(LPCSTR pszKLID,
return LoadKeyboardLayoutW(wszKLID, Flags);
}
inline BOOL IsValidKLID(_In_ LPCWSTR pwszKLID)
static inline BOOL IsValidKLID(_In_ LPCWSTR pwszKLID)
{
return (pwszKLID != NULL) && (wcsspn(pwszKLID, L"0123456789ABCDEFabcdef") == (KL_NAMELENGTH - 1));
}