summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/wee-hook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-hook.c b/src/core/wee-hook.c
index 8cf10024a..d5e26b6fb 100644
--- a/src/core/wee-hook.c
+++ b/src/core/wee-hook.c
@@ -126,7 +126,7 @@ hook_find_pos (struct t_hook *hook)
HOOK_COMMAND(ptr_hook, command));
if (rc_cmp < 0)
return ptr_hook;
- if ((rc_cmp == 0) && (hook->priority >= ptr_hook->priority))
+ if ((rc_cmp == 0) && (hook->priority > ptr_hook->priority))
return ptr_hook;
}
}