summaryrefslogtreecommitdiffhomepage
path: root/src/bind.c
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2023-06-10 16:44:19 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2023-06-10 16:51:02 +0100
commit1c4318331663b152b0b298bd2c9e5c971506a86b (patch)
treea402681cb84b491819ba5018525c16340110fd4d /src/bind.c
parent602a18977d500ad068fd63fbedcafb630c29ee72 (diff)
Prune some comments and tidy up other minor things
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] */) {