diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-12-23 21:53:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-12-26 00:27:08 +0100 |
| commit | 8caf013a9b8d709ed7c3d5e9febee0067e6fcf1f (patch) | |
| tree | 40da87cb357e8b1c54a1464bdbac2d014640e30c /src/wx/wx_util.cc | |
| parent | cec6ff92aef45c687085ecfc1059004407c18c57 (diff) | |
Replace String::compose with fmt::format().
Diffstat (limited to 'src/wx/wx_util.cc')
| -rw-r--r-- | src/wx/wx_util.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc index fc8b3dc99..66ff200cc 100644 --- a/src/wx/wx_util.cc +++ b/src/wx/wx_util.cc @@ -48,6 +48,7 @@ LIBDCP_DISABLE_WARNINGS #include <wx/spinctrl.h> #include <wx/splash.h> LIBDCP_ENABLE_WARNINGS +#include <fmt/format.h> #include <boost/thread.hpp> @@ -758,7 +759,7 @@ bitmap_path (string name) wxString icon_path(string name) { - return gui_is_dark() ? bitmap_path(String::compose("%1_white.png", name)) : bitmap_path(String::compose("%1_black.png", name)); + return gui_is_dark() ? bitmap_path(fmt::format("{}_white.png", name)) : bitmap_path(fmt::format("{}_black.png", name)); } |
