#2765 Made index output 1 based

This commit is contained in:
Jerry (Xinyu Hou) 2016-08-17 15:58:56 +01:00 committed by Andrew Nelless
parent adaf325e6f
commit 2ffaf42faa
1 changed files with 2 additions and 1 deletions

View File

@ -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;