Skip to content

Commit

Permalink
chore(linux): change loop for filling the vector of dk triplets
Browse files Browse the repository at this point in the history
  • Loading branch information
SabineSIL committed Dec 19, 2024
1 parent 0529946 commit c983380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linux/mcompile/keymap/mcompile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ void KMX_ConvertDeadkey(LPKMX_KEYBOARD kbd, KMX_WORD vk_US, KMX_DWORD shift, KMX
KMX_GetDeadkeys(dk_Table, deadkey, vec_deadkeys, keymap); // returns vector of [usvk, ch_out] pairs

int n=0;
while (n < (int)vec_deadkeys.size()) {
while (n < (int)vec_deadkeys.size() - 2) {
// Look up the ch
KMX_DWORD KeyValUnderlying = (KMX_DWORD) KMX_get_KeyValUnderlying_From_KeyValUS(all_vector, vec_deadkeys[n]);
KMX_TranslateDeadkeyKeyboard(kbd, dkid, KeyValUnderlying, vec_deadkeys[n + 1], vec_deadkeys[n + 2]);
Expand Down

0 comments on commit c983380

Please sign in to comment.