fix bookmarks

This commit is contained in:
Venelin Dechkov
2026-07-30 11:54:49 +03:00
parent 07b79c903e
commit b275554213
+3 -3
View File
@@ -321,15 +321,15 @@ extern "C"
string bm_dir = bm_root + dir;
// Read content of bookmarks file and choose
string link = $(dmenu < bm_dir.c_str());
string entry = $(dmenu < bm_dir.c_str());
// Extract link
size_t link_begin = link.find('-');
size_t link_begin = entry.find('-');
if(link_begin != string::npos)
{
Cmd open_bookmark("apulse", BROWSER);
detach(open_bookmark +
(link.c_str() + 1)); // skip -
(entry.c_str() + link_begin + 1)); // skip -
break;
}
}