#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

View File

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