commit 78ea95ced0bf226c8c35ea1e39f824a9edbd1744
parent c33e7f2d8bf2b9d576a437fe21e5d5169f079081
Author: Claudio Alessi <smoppy@gmail.com>
Date: Sat, 14 May 2016 15:13:40 +0200
s/modkey/code/g
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/myadm.c b/myadm.c
@@ -67,7 +67,7 @@ struct Field {
typedef struct {
const char *mode;
- const int modkey;
+ const int code;
void (*func)(const Arg *);
const Arg arg;
} Key;
@@ -679,7 +679,7 @@ run(void) {
continue;
k = NULL;
for(i = 0; i < LENGTH(keys); ++i)
- if(ISCURMODE(keys[i].mode) && keys[i].modkey == code) {
+ if(ISCURMODE(keys[i].mode) && keys[i].code == code) {
k = &keys[i];
break;
}