mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-27 10:38:48 +03:00
#2765 Made index output 1 based
This commit is contained in:
parent
adaf325e6f
commit
2ffaf42faa
@ -718,7 +718,8 @@ KeyMap::findBestKey(const KeyEntryList& entryList,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (bestIndex != -1) {
|
if (bestIndex != -1) {
|
||||||
LOG((CLOG_DEBUG1 "best key index %d of %d (%d modifiers)", bestIndex, entryList.size(), bestCount));
|
LOG((CLOG_DEBUG1 "best key index %d of %d (%d modifiers)",
|
||||||
|
bestIndex + 1, entryList.size(), bestCount));
|
||||||
}
|
}
|
||||||
|
|
||||||
return bestIndex;
|
return bestIndex;
|
||||||
|
Loading…
Reference in New Issue
Block a user