summaryrefslogtreecommitdiff
path: root/src/lib/render_text.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-09-14 13:09:04 +0200
committerCarl Hetherington <cth@carlh.net>2020-09-14 13:09:04 +0200
commite3c78ffdb5e562841e86e6f59a20494159c44de7 (patch)
tree81a4384eafabbd84975ccbb733c944cb6205cb46 /src/lib/render_text.cc
parent4c804a0d92ebd03b70bfc7f736fcaf5f77cb3bb7 (diff)
Rename shared_path -> resources_path.
Diffstat (limited to 'src/lib/render_text.cc')
-rw-r--r--src/lib/render_text.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/render_text.cc b/src/lib/render_text.cc
index 41f3563db..1e15c7aac 100644
--- a/src/lib/render_text.cc
+++ b/src/lib/render_text.cc
@@ -142,7 +142,7 @@ setup_font (StringText const& subtitle, list<shared_ptr<Font> > const& fonts)
optional<boost::filesystem::path> font_file;
try {
- font_file = shared_path () / "LiberationSans-Regular.ttf";
+ font_file = resources_path() / "LiberationSans-Regular.ttf";
} catch (boost::filesystem::filesystem_error& e) {
}