mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
am dfecc86f
: Fix ShortcutListPolicy::getStartPos().
* commit 'dfecc86f255538840461c1a30e98cf6eba445c2e': Fix ShortcutListPolicy::getStartPos().
This commit is contained in:
commit
a05c94747b
@ -33,6 +33,9 @@ class ShortcutListPolicy : public DictionaryShortcutsStructurePolicy {
|
||||
~ShortcutListPolicy() {}
|
||||
|
||||
int getStartPos(const int pos) const {
|
||||
if (pos == NOT_A_DICT_POS) {
|
||||
return NOT_A_DICT_POS;
|
||||
}
|
||||
int listPos = pos;
|
||||
ShortcutListReadingUtils::getShortcutListSizeAndForwardPointer(mShortcutsBuf, &listPos);
|
||||
return listPos;
|
||||
|
Loading…
Reference in New Issue
Block a user