From e29cb9a85afac41641484d6e406f33528f2ef551 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Thu, 16 Jul 2015 20:51:23 +0200 Subject: [PATCH] core: fix comment in function hook_find_pos --- src/core/wee-hook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/wee-hook.c b/src/core/wee-hook.c index 161211224..f6bbdc097 100644 --- a/src/core/wee-hook.c +++ b/src/core/wee-hook.c @@ -136,7 +136,7 @@ hook_find_pos (struct t_hook *hook) if (hook->type == HOOK_TYPE_COMMAND) { - /* for command hook, sort on command name */ + /* for command hook, sort on command name + priority */ for (ptr_hook = weechat_hooks[hook->type]; ptr_hook; ptr_hook = ptr_hook->next_hook) {