Changeset aa31448fb2795d84e5384b8cbcfad5e6baa510f9
- 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
| redead8b |
raa31448 |
|
| 1704 | 1704 | *psz_unicode_start = '\0'; |
|---|
| 1705 | 1705 | } |
|---|
| 1706 | | else |
|---|
| 1707 | | { |
|---|
| 1708 | | psz_unicode++; |
|---|
| | 1706 | else if( psz_unicode > psz_unicode_start ) |
|---|
| | 1707 | { |
|---|
| 1709 | 1708 | for( i=0; psz_unicode[ i ]; i++ ) |
|---|
| 1710 | 1709 | psz_unicode_start[ i ] = psz_unicode[ i ]; |
|---|
| … | … | |
| 2508 | 2507 | p_prev = p_line; |
|---|
| 2509 | 2508 | 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 | } |
|---|
| 2510 | 2519 | } |
|---|
| 2511 | 2520 | } |
|---|