From 583ac1ed2d736aedcf9f80299188f9163839675b Mon Sep 17 00:00:00 2001 From: "Jerry (Xinyu Hou)" Date: Thu, 5 May 2016 14:02:16 +0100 Subject: [PATCH] Made index 1 based in log #2765 --- src/lib/synergy/KeyMap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/synergy/KeyMap.cpp b/src/lib/synergy/KeyMap.cpp index 8833c2b5..68b5d1c3 100644 --- a/src/lib/synergy/KeyMap.cpp +++ b/src/lib/synergy/KeyMap.cpp @@ -696,7 +696,7 @@ KeyMap::findBestKey(const KeyEntryList& entryList, const KeyItem& item = entryList[i].back(); if ((item.m_required & 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; } }