mirror of
https://github.com/weechat/weechat.git
synced 2026-07-08 10:43:13 +02:00
core: fix bug with option weechat.look.hotlist_count_max (value+1 was used)
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
WeeChat ChangeLog
|
||||
=================
|
||||
Sébastien Helleu <flashcode@flashtux.org>
|
||||
v0.3.6-dev, 2011-06-16
|
||||
v0.3.6-dev, 2011-06-21
|
||||
|
||||
|
||||
Version 0.3.6 (under dev!)
|
||||
--------------------------
|
||||
|
||||
* core: fix bug with option weechat.look.hotlist_count_max (value+1 was used)
|
||||
* core: add local variable "highlight_regex" in buffers
|
||||
* core: add "hdata" (direct access to WeeChat/plugin data)
|
||||
* core: add option weechat.look.eat_newline_glitch (do not add new line at end
|
||||
|
||||
@@ -1154,7 +1154,7 @@ gui_bar_item_default_hotlist (void *data, struct t_gui_bar_item *item,
|
||||
{
|
||||
private = (ptr_hotlist->count[GUI_HOTLIST_PRIVATE] > 0) ? 1 : 0;
|
||||
priority_min_displayed = ptr_hotlist->priority + 1;
|
||||
priority_min = ptr_hotlist->priority - CONFIG_INTEGER(config_look_hotlist_count_max);
|
||||
priority_min = ptr_hotlist->priority - CONFIG_INTEGER(config_look_hotlist_count_max) + 1;
|
||||
if (priority_min < 0)
|
||||
priority_min = 0;
|
||||
for (priority = ptr_hotlist->priority;
|
||||
|
||||
Reference in New Issue
Block a user