summaryrefslogtreecommitdiff
path: root/src/lib/text_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-06-09 21:16:31 +0200
committerCarl Hetherington <cth@carlh.net>2022-06-10 23:12:13 +0200
commitca5cc79f4464c5e9f34480757c288b9bbcb569ec (patch)
tree43aabbb22b7e7ae05be1ef4ee02e5602f173d13d /src/lib/text_content.cc
parent2f1986a814403d690aedcbe8b7057878ebae76b0 (diff)
Make it OK to re-examine content with subtitles.
Diffstat (limited to 'src/lib/text_content.cc')
-rw-r--r--src/lib/text_content.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/text_content.cc b/src/lib/text_content.cc
index 9c925cbcf..e91b7bcc0 100644
--- a/src/lib/text_content.cc
+++ b/src/lib/text_content.cc
@@ -664,3 +664,10 @@ TextContent::get_font(string id) const
return *iter;
}
+
+void
+TextContent::clear_fonts()
+{
+ _fonts.clear();
+}
+