Commit 2f966bd6 authored by John Stebbins's avatar John Stebbins Committed by Francois Cartegnie

substx3g: Allow multiple simultanious face styles

Signed-off-by: default avatarFrancois Cartegnie <fcvlcdev@free.fr>
parent c3c6e9b8
...@@ -80,9 +80,9 @@ static int ConvertFlags( int i_atomflags ) ...@@ -80,9 +80,9 @@ static int ConvertFlags( int i_atomflags )
int i_vlcstyles_flags = 0; int i_vlcstyles_flags = 0;
if ( i_atomflags & FONT_FACE_BOLD ) if ( i_atomflags & FONT_FACE_BOLD )
i_vlcstyles_flags |= STYLE_BOLD; i_vlcstyles_flags |= STYLE_BOLD;
else if ( i_atomflags & FONT_FACE_ITALIC ) if ( i_atomflags & FONT_FACE_ITALIC )
i_vlcstyles_flags |= STYLE_ITALIC; i_vlcstyles_flags |= STYLE_ITALIC;
else if ( i_atomflags & FONT_FACE_UNDERLINE ) if ( i_atomflags & FONT_FACE_UNDERLINE )
i_vlcstyles_flags |= STYLE_UNDERLINE; i_vlcstyles_flags |= STYLE_UNDERLINE;
return i_vlcstyles_flags; return i_vlcstyles_flags;
} }
......
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