mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
Unwrap a line in query_delete_selected_item.
This commit is contained in:
parent
b8063709c0
commit
143398f09d
@ -733,8 +733,7 @@ query_delete_selected_item(void *context_)
|
|||||||
|
|
||||||
assert(item);
|
assert(item);
|
||||||
|
|
||||||
delete = ops->can_delete(item)
|
delete = ops->can_delete(item) ? DELETE_LOCKED : DELETE_IMPOSSIBLE;
|
||||||
? DELETE_LOCKED : DELETE_IMPOSSIBLE;
|
|
||||||
|
|
||||||
if (delete == DELETE_IMPOSSIBLE || ops->is_used(item)) {
|
if (delete == DELETE_IMPOSSIBLE || ops->is_used(item)) {
|
||||||
print_delete_error(item, term, ops, delete);
|
print_delete_error(item, term, ops, delete);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user