[Fontconfig] fontconfig: Branch 'master'

Akira TAGOH tagoh at kemper.freedesktop.org
Fri Mar 2 04:30:36 UTC 2018


 src/fcfreetype.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8c96285d216e4fec2d83386dfd49030dfc947a4b
Author: Akira TAGOH <akira at tagoh.org>
Date:   Fri Mar 2 13:30:00 2018 +0900

    Initialize an array explicitly
    
    Patch from Kurt Kartaltepe

diff --git a/src/fcfreetype.c b/src/fcfreetype.c
index 49fb39f..36f5aed 100644
--- a/src/fcfreetype.c
+++ b/src/fcfreetype.c
@@ -2261,7 +2261,7 @@ static int
 FcFreeTypeSpacing (FT_Face face)
 {
     FT_Int	    load_flags = FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH | FT_LOAD_NO_SCALE | FT_LOAD_NO_HINTING;
-    FT_Pos	    advances[3] = {};
+    FT_Pos	    advances[3] = {0};
     unsigned int    num_advances = 0;
     int		    o;
 


More information about the Fontconfig mailing list