summaryrefslogtreecommitdiff
path: root/src/lib/font_config.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-07-09 21:55:15 +0200
committerCarl Hetherington <cth@carlh.net>2025-07-10 20:50:32 +0200
commit7a4763153548619b379222d5c22d10b238ba0ac3 (patch)
tree9388ed2352aec643e938727bbbc9c9155d9092fb /src/lib/font_config.cc
parent9e90111e53a0b0739d0789afd26f29e63f803917 (diff)
Convert some paths to string.
Diffstat (limited to 'src/lib/font_config.cc')
-rw-r--r--src/lib/font_config.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/font_config.cc b/src/lib/font_config.cc
index 653c9ba84..8c75aff24 100644
--- a/src/lib/font_config.cc
+++ b/src/lib/font_config.cc
@@ -136,7 +136,7 @@ FontConfig::system_font_with_name(string name)
FcChar8* file;
if (FcPatternGetString(font, FC_FILE, 0, &file) == FcResultMatch) {
path = boost::filesystem::path(reinterpret_cast<char*>(file));
- LOG_GENERAL("Found %1", *path);
+ LOG_GENERAL("Found %1", path->string());
break;
}
}
@@ -149,7 +149,7 @@ FontConfig::system_font_with_name(string name)
FcPatternDestroy(pattern);
if (path) {
- LOG_GENERAL("Searched system for font %1, found %2", name, *path);
+ LOG_GENERAL("Searched system for font %1, found %2", name, path->string());
} else {
LOG_GENERAL("Searched system for font %1; nothing found", name);
}