Commit 56f5aa01 authored by François Cartegnie's avatar François Cartegnie 🤞
Browse files

codec: substx3g: merge w/overwrite instead of replace

parent a874fbbf
......@@ -241,8 +241,10 @@ static bool SegmentSplit( tx3g_segment_t *p_prev, tx3g_segment_t **pp_segment,
p_segment_middle->p_next3g = p_next3g;
text_style_Delete( p_segment_middle->s->style );
p_segment_middle->s->style = text_style_Duplicate( p_styles );
if( p_segment_middle->s->style )
text_style_Merge( p_segment_middle->s->style, p_styles, true );
p_segment_middle->s->style = text_style_Duplicate( p_styles );
return true;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment