From a11328c3548f88e4e5216d9b2ee46646177ce430 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Sun, 22 Aug 2021 16:20:59 +0200 Subject: [PATCH] [bookmarks] Pipe character instead of semicolon. --- src/bookmarks/dialogs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bookmarks/dialogs.c b/src/bookmarks/dialogs.c index ada23293e..6c018e16e 100644 --- a/src/bookmarks/dialogs.c +++ b/src/bookmarks/dialogs.c @@ -72,8 +72,8 @@ get_bookmark_text(struct listbox_item *item, struct terminal *term) add_to_string(&tmp, bookmark->title); - if (with_urls) { - add_to_string(&tmp, " ; "); + if (with_urls && bookmark->url && *(bookmark->url)) { + add_to_string(&tmp, " | "); add_to_string(&tmp, bookmark->url); }