mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
Remove a superfluous check.
This thoroughly ridiculous check was added in commit bfa309e192caf6f1dd1f1bc112490b2f3dad1ebb.
This commit is contained in:
parent
d3bc3eb7e9
commit
9d6ec1ee59
@ -208,7 +208,7 @@ do_add_bookmark(struct dialog_data *dlg_data, unsigned char *title, unsigned cha
|
||||
box = get_dlg_listbox_data(dlg_data);
|
||||
|
||||
if (box->sel) {
|
||||
selected = box->sel ? box->sel->udata : NULL;
|
||||
selected = box->sel->udata;
|
||||
|
||||
if (box->sel->type == BI_FOLDER && box->sel->expanded) {
|
||||
bm = selected;
|
||||
|
Loading…
x
Reference in New Issue
Block a user