mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Re-indent recursively_goto_listbox.
This commit is contained in:
parent
6aed6ff96f
commit
5042a48750
@ -449,18 +449,18 @@ static void
|
|||||||
recursively_goto_listbox(struct session *ses, struct listbox_item *item,
|
recursively_goto_listbox(struct session *ses, struct listbox_item *item,
|
||||||
struct listbox_data *box)
|
struct listbox_data *box)
|
||||||
{
|
{
|
||||||
if (item->type == BI_FOLDER) {
|
if (item->type == BI_FOLDER) {
|
||||||
recursively_goto_each_listbox(ses, item, box);
|
recursively_goto_each_listbox(ses, item, box);
|
||||||
return;
|
return;
|
||||||
|
|
||||||
} else if (item->type == BI_LEAF) {
|
} else if (item->type == BI_LEAF) {
|
||||||
struct uri *uri = box->ops->get_uri(item);
|
struct uri *uri = box->ops->get_uri(item);
|
||||||
|
|
||||||
if (!uri) return;
|
if (!uri) return;
|
||||||
|
|
||||||
open_uri_in_new_tab(ses, uri, 1, 0);
|
open_uri_in_new_tab(ses, uri, 1, 0);
|
||||||
done_uri(uri);
|
done_uri(uri);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user