[vlc-devel] [PATCH] substx3g: Allow multiple simultanious face styles
John Stebbins
stebbins at jetheaddev.com
Thu Apr 3 19:08:02 CEST 2014
---
modules/codec/substx3g.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/codec/substx3g.c b/modules/codec/substx3g.c
index 4464b89..4c83465 100644
--- a/modules/codec/substx3g.c
+++ b/modules/codec/substx3g.c
@@ -79,9 +79,9 @@ static int ConvertFlags( int i_atomflags )
int i_vlcstyles_flags = 0;
if ( i_atomflags & FONT_FACE_BOLD )
i_vlcstyles_flags |= STYLE_BOLD;
- else if ( i_atomflags & FONT_FACE_ITALIC )
+ if ( i_atomflags & FONT_FACE_ITALIC )
i_vlcstyles_flags |= STYLE_ITALIC;
- else if ( i_atomflags & FONT_FACE_UNDERLINE )
+ if ( i_atomflags & FONT_FACE_UNDERLINE )
i_vlcstyles_flags |= STYLE_UNDERLINE;
return i_vlcstyles_flags;
}
--
1.9.0
More information about the vlc-devel
mailing list