mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-18 14:27:43 +00:00
feat(windows): fix compile error
This commit is contained in:
parent
a72697423a
commit
f1f1d4e9b7
2 changed files with 2 additions and 3 deletions
|
|
@ -252,7 +252,6 @@ km_kbp_context_item_list_size(km_kbp_context_item const *context_items)
|
|||
return n;
|
||||
}
|
||||
|
||||
|
||||
json & operator << (json & j, km::kbp::context const & ctxt) {
|
||||
j << json::array;
|
||||
for (auto & i: ctxt) j << i;
|
||||
|
|
|
|||
|
|
@ -590,11 +590,11 @@ extern "C" BOOL _declspec(dllexport) WINAPI Keyman_ForceKeyboard(PCSTR FileName
|
|||
// TODO: 5650 LoadDLLs
|
||||
// TODO: 5652 verify - ResetCapsLock();
|
||||
ResetCapsLock();
|
||||
err_status = km_kbp_keyboard_get_imx_list(_td->lpActiveKeyboard.lpCoreKeyboard, &_td->lpActiveKeyboard.lpIMXList);
|
||||
err_status = km_kbp_keyboard_get_imx_list(_td->lpActiveKeyboard->lpCoreKeyboard, &_td->lpActiveKeyboard->lpIMXList);
|
||||
if (err_status != KM_KBP_STATUS_OK) {
|
||||
SendDebugMessageFormat(0, sdmLoad, 0, "Keyman_ForceKeyboard Core: km_kbp_keyboard_get_imx_list failed with error status [%d]", err_status);
|
||||
// Dispose of the keyboard to leave us in a consistent state
|
||||
ReleaseKeyboardMemoryCore(&_td->lpKeyboards[i].lpCoreKeyboard);
|
||||
ReleaseKeyboardMemoryCore(&_td->lpActiveKeyboard->lpCoreKeyboard);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue