summaryrefslogtreecommitdiffhomepage
path: root/src/bind.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bind.c')
-rw-r--r--src/bind.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bind.c b/src/bind.c
index 97864c8..37a34ea 100644
--- a/src/bind.c
+++ b/src/bind.c
@@ -39,8 +39,7 @@ static bool find_keyinfo(con_cmdcb klbc_cb) {
#ifdef _WIN32
const uchar *insns = (const uchar *)klbc_cb;
for (const uchar *p = insns; p - insns < 32;) {
- // key_listboundkeys command, in its loop through each possible index,
- // does a mov from that index into a register, something like:
+ // key_listboundkeys loops through each index, moving into a register:
// mov <reg>, dword ptr [<reg> * 8 + s_pKeyInfo]
if (p[0] == X86_MOVRMW && (p[1] & 0xC7) == 4 /* SIB + imm32 */ &&
(p[2] & 0xC7) == 0xC5 /* [immediate + reg * 8] */) {