diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/wee-config.c | 6 | ||||
-rw-r--r-- | src/core/wee-config.h | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/core/wee-config.c b/src/core/wee-config.c index d09ed7773..cfde1bdb3 100644 --- a/src/core/wee-config.c +++ b/src/core/wee-config.c @@ -3240,8 +3240,10 @@ config_weechat_init_options () "nick_color_hash", "integer", N_("hash algorithm used to find the color for a nick: djb2 = variant " "of djb2 (position of letters matters: anagrams of a nick have " - "different color), sum = sum of letters"), - "djb2|sum", 0, 0, "djb2", NULL, 0, + "different color), djb2_32 = variant of djb2 using 32-bit instead " + "of 64-bit integer, sum = sum of letters, sum_32 = sum of letters " + "using 32-bit instead of 64-bit integer"), + "djb2|sum|djb2_32|sum_32", 0, 0, "djb2", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); config_look_nick_color_stop_chars = config_file_new_option ( weechat_config_file, ptr_section, diff --git a/src/core/wee-config.h b/src/core/wee-config.h index d3fc51694..8cf1a61bf 100644 --- a/src/core/wee-config.h +++ b/src/core/wee-config.h @@ -58,6 +58,8 @@ enum t_config_look_nick_color_hash { CONFIG_LOOK_NICK_COLOR_HASH_DJB2 = 0, CONFIG_LOOK_NICK_COLOR_HASH_SUM, + CONFIG_LOOK_NICK_COLOR_HASH_DJB2_32, + CONFIG_LOOK_NICK_COLOR_HASH_SUM_32, }; enum t_config_look_prefix_align |