Made index 1 based in log #2765

This commit is contained in:
Jerry (Xinyu Hou) 2016-05-05 14:02:16 +01:00
parent 7bf9ca44ae
commit 583ac1ed2d
1 changed files with 1 additions and 1 deletions

View File

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