summaryrefslogtreecommitdiffhomepage
path: root/src/autojump.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/autojump.c')
-rw-r--r--src/autojump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/autojump.c b/src/autojump.c
index 590b916..a8064da 100644
--- a/src/autojump.c
+++ b/src/autojump.c
@@ -62,7 +62,7 @@ static bool VCALLCONV hookcl(void *this) {
static bool unprot(void *gm) {
void **vtable = *(void ***)gm;
bool ret = os_mprot(vtable + vtidx_CheckJumpButton, sizeof(void *),
- PAGE_EXECUTE_READWRITE);
+ PAGE_READWRITE);
if (!ret) con_warn("autojump: couldn't make memory writable\n");
return ret;
}