From 8fedaaa75c4586a4cc7ffb393bd71d1fdb091dc8 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 31 Jan 2021 03:14:24 +0100 Subject: More enum class additions. --- src/lib/text_content.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/lib/text_content.cc') diff --git a/src/lib/text_content.cc b/src/lib/text_content.cc index 86fd85b68..79ac42f43 100644 --- a/src/lib/text_content.cc +++ b/src/lib/text_content.cc @@ -120,10 +120,10 @@ TextContent::TextContent (Content* parent, cxml::ConstNodePtr node, int version) , _y_offset (0) , _x_scale (1) , _y_scale (1) - , _line_spacing (node->optional_number_child("LineSpacing").get_value_or (1)) - , _outline_width (node->optional_number_child("OutlineWidth").get_value_or (4)) - , _type (TEXT_OPEN_SUBTITLE) - , _original_type (TEXT_OPEN_SUBTITLE) + , _line_spacing (node->optional_number_child("LineSpacing").get_value_or(1)) + , _outline_width (node->optional_number_child("OutlineWidth").get_value_or(4)) + , _type (TextType::OPEN_SUBTITLE) + , _original_type (TextType::OPEN_SUBTITLE) { if (version >= 37) { _use = node->bool_child ("Use"); -- cgit v1.2.3