mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-22 07:37:40 +00:00
feat(core): address code review comments
Test-bot: skip
This commit is contained in:
parent
9909d7d901
commit
83dca0f779
1 changed files with 4 additions and 2 deletions
|
|
@ -351,8 +351,10 @@ km_core_state_options_update_wasm(
|
|||
options_c[i].value = new_options[i].value.c_str();
|
||||
options_c[i].scope = new_options[i].scope;
|
||||
}
|
||||
options_c[new_options.size()] = {nullptr, nullptr, 0};
|
||||
return km_core_state_options_update(const_cast<km_core_state*>(state), options_c);
|
||||
options_c[new_options.size()] = KM_CORE_OPTIONS_END;
|
||||
km_core_status status = km_core_state_options_update(const_cast<km_core_state*>(state), options_c);
|
||||
delete[] options_c;
|
||||
return status;
|
||||
}
|
||||
|
||||
const CoreReturn<km_core_context_items>*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue