core: fix display of nicks in nicklist when they are in a group with sub-groups (closes #1079)
This commit is contained in:
parent
bbfdec0600
commit
7a452ce8bc
@ -35,6 +35,7 @@ Improvements::
|
||||
|
||||
Bug fixes::
|
||||
|
||||
* core: fix display of nicks in nicklist when they are in a group with sub-groups (issue #1079)
|
||||
* core, plugins: check return code of strftime function
|
||||
* core: fix cast of time_t (to "long long" instead of "long") (issue #1051)
|
||||
* core: call the config hook when options are renamed or removed
|
||||
|
@ -680,6 +680,13 @@ gui_nicklist_get_next_item (struct t_gui_buffer *buffer,
|
||||
/* find next group by parents */
|
||||
while ((ptr_group = ptr_group->parent))
|
||||
{
|
||||
if (ptr_group->nicks)
|
||||
{
|
||||
*group = NULL;
|
||||
*nick = ptr_group->nicks;
|
||||
return;
|
||||
}
|
||||
|
||||
if (ptr_group->next_group)
|
||||
{
|
||||
*group = ptr_group->next_group;
|
||||
|
Loading…
x
Reference in New Issue
Block a user