Line
Link Here
|
0 |
-- cherrytree-0.99.37/src/ct/ct_actions_others.cc 2021-05-19 00:40:05.000000000 +0200 |
0 |
++ cherrytree-0.99.37.new/src/ct/ct_actions_others.cc 2022-01-12 09:00:22.285981087 +0100 |
Lines 289-295
Link Here
|
289 |
if (link_entry.type == CtConst::LINK_TYPE_WEBS) { // link to webpage |
289 |
if (link_entry.type == CtConst::LINK_TYPE_WEBS) { // link to webpage |
290 |
Glib::ustring clean_weblink = str::replace(link_entry.webs, "amp;", ""); |
290 |
Glib::ustring clean_weblink = str::replace(link_entry.webs, "amp;", ""); |
291 |
if (_pCtMainWin->get_ct_config()->weblinkCustomOn) { |
291 |
if (_pCtMainWin->get_ct_config()->weblinkCustomOn) { |
292 |
std::string cmd = fmt::sprintf(_pCtMainWin->get_ct_config()->weblinkCustomAct, clean_weblink); |
292 |
std::string cmd = fmt::sprintf(_pCtMainWin->get_ct_config()->weblinkCustomAct, std::string(clean_weblink)); |
293 |
int retr = std::system(cmd.c_str()); |
293 |
int retr = std::system(cmd.c_str()); |
294 |
if (retr == -1) { |
294 |
if (retr == -1) { |
295 |
// Internal std::system error |
295 |
// Internal std::system error |