mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[USER32] Use static inline instead of inline
Fixes compilation with less optimizations
This commit is contained in:
parent
dad99e3bd0
commit
b3d0591e76
1 changed files with 1 additions and 1 deletions
|
@ -704,7 +704,7 @@ LoadKeyboardLayoutA(LPCSTR pszKLID,
|
||||||
return LoadKeyboardLayoutW(wszKLID, Flags);
|
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));
|
return (pwszKLID != NULL) && (wcsspn(pwszKLID, L"0123456789ABCDEFabcdef") == (KL_NAMELENGTH - 1));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue