summaryrefslogtreecommitdiff
path: root/src/lib/text_content.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/text_content.cc')
-rw-r--r--src/lib/text_content.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/text_content.cc b/src/lib/text_content.cc
index ac49be474..e2f5264df 100644
--- a/src/lib/text_content.cc
+++ b/src/lib/text_content.cc
@@ -405,9 +405,7 @@ TextContent::identifier () const
types of subtitle content involve fonts.
*/
BOOST_FOREACH (shared_ptr<Font> f, _fonts) {
- for (int i = 0; i < FontFiles::VARIANTS; ++i) {
- s += "_" + f->file(static_cast<FontFiles::Variant>(i)).get_value_or("Default").string();
- }
+ s += "_" + f->file().get_value_or("Default").string();
}
/* The DCP track and language are for metadata only, and don't affect