mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-25 03:53:18 +03:00
Revert "Revert "Made index 1 based in log #2765""
This reverts commit fec53e812f
.
This commit is contained in:
parent
f4bd2dab82
commit
c772a59572
@ -696,7 +696,7 @@ KeyMap::findBestKey(const KeyEntryList& entryList,
|
|||||||
const KeyItem& item = entryList[i].back();
|
const KeyItem& item = entryList[i].back();
|
||||||
if ((item.m_required & desiredState) ==
|
if ((item.m_required & desiredState) ==
|
||||||
(item.m_sensitive & desiredState)) {
|
(item.m_sensitive & desiredState)) {
|
||||||
LOG((CLOG_DEBUG1 "best key index %d of %d (exact)", i, entryList.size()));
|
LOG((CLOG_DEBUG1 "best key index %d of %d (exact)", i + 1, entryList.size()));
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user