[vlc-commits] freetype: init line_desc_t height

Lyndon Brown git at videolan.org
Sun Feb 24 10:43:44 CET 2019


vlc | branch: master | Lyndon Brown <jnqnfe at gmail.com> | Sat May 12 01:29:20 2018 +0100| [33d2388be70a486efd8977b16a3094caac86db17] | committer: Jean-Baptiste Kempf

freetype: init line_desc_t height

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=33d2388be70a486efd8977b16a3094caac86db17
---

 modules/text_renderer/freetype/text_layout.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/text_renderer/freetype/text_layout.c b/modules/text_renderer/freetype/text_layout.c
index 714886d1e3..073f1b8283 100644
--- a/modules/text_renderer/freetype/text_layout.c
+++ b/modules/text_renderer/freetype/text_layout.c
@@ -202,6 +202,7 @@ line_desc_t *NewLine( int i_count )
 
     p_line->p_next = NULL;
     p_line->i_width = 0;
+    p_line->i_height = 0;
     p_line->i_base_line = 0;
     p_line->i_character_count = 0;
     p_line->i_first_visible_char_index = -1;



More information about the vlc-commits mailing list