mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-09 16:02:46 +08:00
#2765 Made index output 1 based
This commit is contained in:
committed by
Andrew Nelless
parent
adaf325e6f
commit
2ffaf42faa
@@ -718,7 +718,8 @@ KeyMap::findBestKey(const KeyEntryList& entryList,
|
||||
}
|
||||
}
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user