mirror of
https://github.com/keymanapp/keyman.git
synced 2026-11-03 09:37:47 +00:00
feat(linux): change variable names
This commit is contained in:
parent
801baf55d0
commit
f07cb3a12e
2 changed files with 5 additions and 5 deletions
|
|
@ -18,14 +18,14 @@ std::vector<DeadKey *> create_deadkeys_by_basechar() {
|
|||
return alDead;
|
||||
}
|
||||
|
||||
void refine_alDead(KMX_WCHAR dk, std::vector<DeadKey *> &dkVec, std::vector<DeadKey *> &p_All_Vec) {
|
||||
void refine_alDead(KMX_WCHAR dk, std::vector<DeadKey *> &dkVec, std::vector<DeadKey *> &r_All_Vec) {
|
||||
if (dk == 0)
|
||||
return;
|
||||
|
||||
for (int j = 0; j < (int)p_All_Vec.size() - 1; j++) {
|
||||
if (dk == (p_All_Vec)[j]->KMX_GetDeadCharacter()) {
|
||||
for (int j = 0; j < (int)r_All_Vec.size() - 1; j++) {
|
||||
if (dk == (r_All_Vec)[j]->KMX_GetDeadCharacter()) {
|
||||
if (!found_dk_inVector(dk, dkVec)) {
|
||||
dkVec.push_back((p_All_Vec)[j]);
|
||||
dkVec.push_back((r_All_Vec)[j]);
|
||||
return;
|
||||
} else
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ void create_DKTable(vec_dword_2D &dk_ComposeTable);
|
|||
std::vector<DeadKey *> create_deadkeys_by_basechar();
|
||||
|
||||
// refine dk to those used in the underlying keyboard
|
||||
void refine_alDead(KMX_WCHAR dk, std::vector<DeadKey *> &myVec, std::vector<DeadKey *> &p_All_Vec);
|
||||
void refine_alDead(KMX_WCHAR dk, std::vector<DeadKey *> &myVec, std::vector<DeadKey *> &r_All_Vec);
|
||||
|
||||
// check if entry is already there
|
||||
bool found_dk_inVector(KMX_WCHAR dk, std::vector<DeadKey *> &myVec);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue