summaryrefslogtreecommitdiff
path: root/src/lib/content_text.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/content_text.h')
-rw-r--r--src/lib/content_text.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/content_text.h b/src/lib/content_text.h
index 5edb9af20..fb86bc786 100644
--- a/src/lib/content_text.h
+++ b/src/lib/content_text.h
@@ -50,11 +50,11 @@ class ContentBitmapText : public ContentText
public:
ContentBitmapText (dcpomatic::ContentTime f, std::shared_ptr<const Image> im, dcpomatic::Rect<double> r)
: ContentText (f)
- , sub (im, r)
+ , subs{ {im, r} }
{}
- /* Our text, with its rectangle unmodified by any offsets or scales that the content specifies */
- BitmapText sub;
+ /* Our texts, with their rectangles unmodified by any offsets or scales that the content specifies */
+ std::vector<BitmapText> subs;
};
/** A text caption. We store the time period separately (as well as in the dcp::SubtitleStrings)