commit be995971a9ec7796ab458e4239f5a09ed1703495
parent 686322d5583306b3e25a3a93bcd09d7b71819cc1
Author: hhvn <dev@hhvn.uk>
Date: Tue, 28 Jun 2022 17:09:17 +0100
Fix multi-digit id input
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zygo.c b/zygo.c
@@ -1019,7 +1019,7 @@ submit:
} else if (ui.cmd == BIND_YANK && c == BIND_YANK && !ui.input[0]) {
ui.wantinput = 0;
yank(current);
- } else if (ui.cmd && acceptkey(ui.cmd, c)) {
+ } else if (acceptkey(ui.cmd, c)) {
input(c);
if (wantnum(ui.cmd) && atoi(ui.arg) * 10 > page->lastid)
goto submit;