mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
spelling: down-rank
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
committed by
Sébastien Helleu
parent
6fdf39165a
commit
4e0ffd18c2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user