From 4e0ffd18c26918c6a0099aebf3111fdc016a8344 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 9 Sep 2024 11:35:48 -0400 Subject: [PATCH] spelling: down-rank Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/core/hook/hook-command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/hook/hook-command.c b/src/core/hook/hook-command.c index fc827975c..12b52515c 100644 --- a/src/core/hook/hook-command.c +++ b/src/core/hook/hook-command.c @@ -788,7 +788,7 @@ hook_command_similar_get_relevance (const char *cmd1, int length_cmd1, } else { - /* malus if no chars in common between two words */ + /* down-rank if no chars in common between two words */ if (string_get_common_bytes_count (cmd1, cmd2) == 0) relevance *= 2; }