Commit 66ffb52c authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Subsdec: fix small parsing issue

Close #8392
parent 17c48817
...@@ -662,14 +662,14 @@ static char *CreateHtmlSubtitle( int *pi_align, char *psz_subtitle ) ...@@ -662,14 +662,14 @@ static char *CreateHtmlSubtitle( int *pi_align, char *psz_subtitle )
HtmlCopy( &psz_html, &psz_subtitle, "<font " ); HtmlCopy( &psz_html, &psz_subtitle, "<font " );
HtmlPut( &psz_tag, "f" ); HtmlPut( &psz_tag, "f" );
/* <font color= */
while (*psz_subtitle == ' ')
psz_subtitle++;
while( *psz_subtitle != '>' ) while( *psz_subtitle != '>' )
{ {
int k; int k;
/* <font color= */
while (*psz_subtitle == ' ')
psz_subtitle++;
for( k=0; psz_attribs[ k ]; k++ ) for( k=0; psz_attribs[ k ]; k++ )
{ {
int i_len = strlen( psz_attribs[ k ] ); int i_len = strlen( psz_attribs[ k ] );
......
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