Changeset aa31448fb2795d84e5384b8cbcfad5e6baa510f9

Show
Ignore:
Timestamp:
01/11/07 13:57:48 (1 year ago)
Author:
Bernie Purcell <bitmap@videolan.org>
git-committer:
Bernie Purcell <bitmap@videolan.org> 1193921868 +0000
git-parent:

[5314d595fb9115e3edccd79ac842adea0150bd36]

git-author:
Bernie Purcell <bitmap@videolan.org> 1193921868 +0000
Message:

Address Trac Issue #1350 - linebreaks being ignored under some
circumstances in styled subtitles.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/misc/freetype.c

    redead8b raa31448  
    17041704        *psz_unicode_start = '\0'; 
    17051705    } 
    1706     else 
    1707     { 
    1708         psz_unicode++; 
     1706    else if( psz_unicode > psz_unicode_start ) 
     1707    { 
    17091708        for( i=0; psz_unicode[ i ]; i++ ) 
    17101709            psz_unicode_start[ i ] = psz_unicode[ i ]; 
     
    25082507                    p_prev = p_line; 
    25092508                    p_line = NULL; 
     2509 
     2510                    if( *psz_unicode == '\n') 
     2511                    { 
     2512                        uint32_t *c_ptr; 
     2513 
     2514                        for( c_ptr = psz_unicode; *c_ptr; c_ptr++ ) 
     2515                        { 
     2516                            *c_ptr = *(c_ptr+1); 
     2517                        } 
     2518                    } 
    25102519                } 
    25112520            }