summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/subtitle_string.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/subtitle_string.h b/src/subtitle_string.h
index 7e84d103..8e798d8e 100644
--- a/src/subtitle_string.h
+++ b/src/subtitle_string.h
@@ -129,6 +129,10 @@ public:
_font = id;
}
+ void unset_font () {
+ _font = boost::optional<std::string>();
+ }
+
void set_size (int s) {
_size = s;
}