Rename shared_path -> resources_path.
[dcpomatic.git] / src / lib / render_text.cc
index 41f3563db117b861698e50f62d7ef584f817a5a2..1e15c7aaca0446286ddff2bd870d40da4e7e4f7c 100644 (file)
@@ -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) {
 
        }