From 1c4318331663b152b0b298bd2c9e5c971506a86b Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sat, 10 Jun 2023 16:44:19 +0100 Subject: Prune some comments and tidy up other minor things --- src/bind.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/bind.c') 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 , dword ptr [ * 8 + s_pKeyInfo] if (p[0] == X86_MOVRMW && (p[1] & 0xC7) == 4 /* SIB + imm32 */ && (p[2] & 0xC7) == 0xC5 /* [immediate + reg * 8] */) { -- cgit v1.2.3