am dfecc86f: Fix ShortcutListPolicy::getStartPos().
* commit 'dfecc86f255538840461c1a30e98cf6eba445c2e': Fix ShortcutListPolicy::getStartPos().main
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