mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Fix compilation error in src/bfu/listbox.c
Fix a silly error introduced by me in commit
66e1baec77
.
This commit is contained in:
parent
bd752e95ad
commit
30a8d2faed
@ -401,7 +401,7 @@ display_listbox_item(struct listbox_item *item, void *data_, int *offset)
|
|||||||
case BI_LEAF:
|
case BI_LEAF:
|
||||||
case BI_SEPARATOR:
|
case BI_SEPARATOR:
|
||||||
{
|
{
|
||||||
const struct listbox_item *const prev;
|
const struct listbox_item *prev;
|
||||||
|
|
||||||
prev = traverse_listbox_items_list(item, data->box,
|
prev = traverse_listbox_items_list(item, data->box,
|
||||||
-1, 1, NULL, NULL);
|
-1, 1, NULL, NULL);
|
||||||
@ -411,9 +411,9 @@ display_listbox_item(struct listbox_item *item, void *data_, int *offset)
|
|||||||
* must be the first item in the listbox. */
|
* must be the first item in the listbox. */
|
||||||
str[1] = BORDER_SULCORNER;
|
str[1] = BORDER_SULCORNER;
|
||||||
} else {
|
} else {
|
||||||
const struct listbox_item *const next;
|
const struct listbox_item *next;
|
||||||
|
|
||||||
next == traverse_listbox_items_list(item,
|
next = traverse_listbox_items_list(item,
|
||||||
data->box, 1, 1, NULL, NULL);
|
data->box, 1, 1, NULL, NULL);
|
||||||
|
|
||||||
if (item == next
|
if (item == next
|
||||||
|
Loading…
Reference in New Issue
Block a user