Changeset 181756989468eeecda39c28d194de9afa2205bef
- Timestamp:
- 17/09/08 20:36:56
(3 months ago)
- Author:
- Laurent Aimar <fenrir@videolan.org>
- git-committer:
- Laurent Aimar <fenrir@videolan.org> 1221676616 +0200
- git-parent:
[3d5a7badbc85fa8eb1b3ec3e8d3455b6eb71acf3]
- git-author:
- Laurent Aimar <fenrir@videolan.org> 1221675874 +0200
- Message:
Fixed a segfault when trying to render a unbreakable string.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rcdc8bcd |
r1817569 |
|
| 1727 | 1727 | if( line.xMax > (int)p_filter->fmt_out.video.i_visible_width - 20 ) |
|---|
| 1728 | 1728 | { |
|---|
| 1729 | | while( --i > *pi_start ) |
|---|
| 1730 | | { |
|---|
| | 1729 | for( ; i >= *pi_start; i-- ) |
|---|
| 1731 | 1730 | FT_Done_Glyph( (FT_Glyph)p_line->pp_glyphs[ i ] ); |
|---|
| 1732 | | } |
|---|
| | 1731 | i = *pi_start; |
|---|
| 1733 | 1732 | |
|---|
| 1734 | 1733 | while( psz_unicode > psz_unicode_start && *psz_unicode != ' ' ) |
|---|
| … | … | |
| 1754 | 1753 | p_result->y = __MAX( p_result->y, __MAX( p_line->i_height, |
|---|
| 1755 | 1754 | i_yMax - i_yMin ) ); |
|---|
| 1756 | | |
|---|
| 1757 | | *pi_start = i; |
|---|
| 1758 | 1755 | return VLC_SUCCESS; |
|---|
| 1759 | 1756 | } |
|---|