summaryrefslogtreecommitdiff
path: root/test/srt_subtitle_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-09 16:18:00 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-09 16:18:00 +0100
commit2a01820de9229fd778787421ec4f7bbf1e4b8bf1 (patch)
tree9243a62fb21cea583f6b012fcc0ec1088ae19c84 /test/srt_subtitle_test.cc
parentea3e9db20ede512d5e5d73b41c4cb796eeef56d3 (diff)
Hide Font members behind accessors.
Diffstat (limited to 'test/srt_subtitle_test.cc')
-rw-r--r--test/srt_subtitle_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/srt_subtitle_test.cc b/test/srt_subtitle_test.cc
index 4497e4000..fd9632a31 100644
--- a/test/srt_subtitle_test.cc
+++ b/test/srt_subtitle_test.cc
@@ -63,7 +63,7 @@ BOOST_AUTO_TEST_CASE (srt_subtitle_test2)
content->set_use_subtitles (true);
/* Use test/data/subrip2.srt as if it were a font file */
- content->fonts().front()->file = "test/data/subrip2.srt";
+ content->fonts().front()->set_file ("test/data/subrip2.srt");
film->make_dcp ();
wait_for_jobs ();