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 51b37564..6713584a 100644
--- a/src/subtitle_string.h
+++ b/src/subtitle_string.h
@@ -187,6 +187,10 @@ public:
_aspect_adjust = a;
}
+ void set_text (std::string t) {
+ _text = t;
+ }
+
private:
/** font ID */
boost::optional<std::string> _font;