1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-19 09:15:30 +03:00
aports/testing/cherrytree/fmt8.patch
Luca Weiss 4d27fc1920 testing/cherrytree: fix build with fmt 8
Also disable checks on architectures where they don't succeed
2021-07-14 05:33:16 +00:00

13 lines
775 B
Diff

diff --git a/src/ct/ct_actions_others.cc b/src/ct/ct_actions_others.cc
index 79357e67..fc97d562 100644
--- a/src/ct/ct_actions_others.cc
+++ b/src/ct/ct_actions_others.cc
@@ -284,7 +284,7 @@ void CtActions::link_clicked(const Glib::ustring& tag_property_value, bool from_
Glib::ustring clean_weblink = str::replace(link_entry.webs, "amp;", "");
if (_pCtMainWin->get_ct_config()->weblinkCustomOn)
{
- std::string cmd = fmt::sprintf(_pCtMainWin->get_ct_config()->weblinkCustomAct, clean_weblink);
+ std::string cmd = fmt::sprintf(_pCtMainWin->get_ct_config()->weblinkCustomAct, clean_weblink.raw());
int retr = std::system(cmd.c_str());
if (retr == -1) {
// Internal std::system error